DataSorting Chart Example.
This sample demonstrates the different modes of sorting available in the chart.
Properties
Property Name |
|
Sort Order |
In this example, you will see how to sort data in a chart in ascending and descending order. The PropertyName
and Direction
properties in the ChartSorting
determine which data value to sort by and in what order. The property PropertyName
accepts the following values:
- None: Turns off the sorting.
- Sort by X: Sorts by the values on the x-axis.
- Sort by Y: Sorts by the values on the y-axis.