Charts / Chart Customization / Sorting

DataSorting Chart Example.

Loading Syncfusion Blazor Server Demos…

Properties

This sample demonstrates the different modes of sorting available in the chart.

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
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE