Configuring additional features and settings for the chart component
You can configure additional features for the Chart component to customize settings.
Using Max values to display
Use Max values to display to limit how many values are displayed in the chart.
Using custom sorting
Use custom sorting to control the order of chart values after grouping and aggregation. The Chart component calculates aggregated values, such as counts or sums. These values do not exist in the records that the data service returns. Therefore, chart sorting is applied in the Chart component and overrides sorting from the data service for the displayed values.
How sorting and the maximum number of values affect chart values
The maximum number of records in the data service and the chart’s configured aggregation type, custom sorting, and Max values to display setting determine the values shown in a chart.
- Max number of records in the data service configuration: Controls how many records are retrieved. If the data service is set to return up to 100 records, only those 100 records are available to the chart.
- Aggregation: The chart groups and summarizes the retrieved records based on the configured aggregation type and fields.
- Sorting: If custom sorting is configured, the chart sorts the aggregated values.
- Max values to display: After aggregation and sorting, the chart shows only the specified number of values.
Note:
- If the actual data set contains more records than the data service is configured to return, the aggregation and sorting are based only on the retrieved records, not the full data set. As a result, the displayed values might not reflect the complete totals.
- The sorting order configured in the data service, for example, specifying SortBy in the SQRY field for a Search transaction, affects the records that the service retrieves. This setting does not sort the aggregated chart values. Changing SortBy in the data service can cause the service to return a different set of records, which changes the aggregated values shown in the chart.
Rotating labels
Rotate labels on the X-axis to improve readability when labels are long or numerous. This is available for all chart types except for Pie and Donut.
- In the chart configuration, click the Properties tab.
- Select Rotate x-axis labels check box.
- Click .