MindFusion.Charting Programmer's Guide

Chart.SortOrder Property

See Also
 





Specifies the sort order of numbers in chart series.

Namespace: MindFusion.Charting.WebForms
Assembly: MindFusion.Charting.WebForms

 Syntax

C#  Copy Code

public SortOrder SortOrder { get; set; }

Visual Basic  Copy Code

Public Property SortOrder As SortOrder

 Property Value

One of the SortOrder Enumeration values.

 Remarks

This property specifies how the data in each series is sorted. The sorting is performed on all data lists.

For charts that use the Cartesian coordinate system the orientation is considered - XData is sorted in horizontal and YData in vertical ones. For charts without axes, PieChart.Data, BarChart.Data or RadarChart.Data is sorted.

Together with the data all label lists are rearranged in the same order as the sorted data.

SortOrder sorts the numbers in the data arrays. SortSeriesBy sorts the data lists.

Default value for the SortOrder property is SortOrder.None.

 See Also