DataSorting Chart Example.

Charts / Chart Customization / Sorting

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.
Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE