Example of Sorting in ASP.NET Core Chart Control
This sample visualizes sales for vehicle range for different zone with default stacked column series in chart. Legend in the sample shows the information about those series.
DEMO
SOURCE
Descending:
|
|
Sort By:
|
In this example, you can see how to sort the series data in chart. To sort the data points of the series, use the sort
method.
This method determines whether the series data points should be sorted by their arguments or values.
Tooltip is enabled in this example. To see the tooltip in action, hover a point or tap a point in touch enabled devices.
More information on the stacking column series can be found in this documentation section.