CSM 10.4 Documentation

Home

Define X-Axis Sorting Options for a Chart Widget

Use the X-Axis Sorting page (accessed from within the Chart Widget Properties window) to define how to sort values on the x-axis of a Chart Widget.

To define x-axis sorting options for a Chart Widget:

  1. Create a Widget
  2. In the Type drop-down, select Chart.
  3. Click the x-axis Sorting page.
  4. Define the sort order:
    • Ascending (example: 0-10, A-Z)
    • Descending (example: 10-0, Z-A)
  5. Define the sorting method:
    • Sort Based on X-Axis Type: Select this radio button to sort x-axis values based on the x-value of each point (example: If the x-axis field is a number, the points are sorted in numerical order).
    • Sort Based on X-Axis Labels: Select this radio button to sort x-axis values in alphabetical order based on the labels of the x-axis points.
    • Use Query Sorting: Select this radio button to sort x-axis values based on the query properties defined in the series criteria (the search query used to retrieve data). Because sorting is done as part of the query, results are based on the table field type being sorted. This only applies to single series charts to avoid sort order conflicts between 2 series.
    • Sort by Y Value: Select this radio button to sort x-axis values based on their corresponding y values. You can select a number by which to limit the results and show either the top N results or the bottom N results.

      Note: This option is only available for charts with single, non-grouped series.

    • Sort by Lookup Value: Select this radio button to sort x-axis values using values from a Lookup Table and Fields.The Lookup Table is selected in the specific x-axis settings for the chart series. The Lookup Target Field Type (example: Text, Date/Time, Number) is based on the Target Field selected in the specific x-axis settings for the chart series.

      Note: If no specific x-axis sorting settings are defined for a series, the raw x-values are used (same as when sorting based on x-axis type). Sorting is based on the type of sort fields (example: Text, Number, etc.), and the sort field types for each series must match.

  6. Select OK.


Was this article useful?