dotnetCHARTING Send comments on this topic.
DateGroupingSort Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : DateGroupingSort Property


Gets or sets a value indicating whether to maintain the sort order of the data as it is provided.

Syntax

Visual Basic (Declaration) 
Public Property DateGroupingSort As Boolean
Visual Basic (Usage)Copy Code
Dim instance As Chart
Dim value As Boolean
 
instance.DateGroupingSort = value
 
value = instance.DateGroupingSort
C# 
public bool DateGroupingSort {get; set;}

Example

C#Copy Code
Chart.DateGroupingSort = true; 
    
Visual BasicCopy Code
Chart.DateGroupingSort = true

Remarks

When dategrouping is used and StartDate or EndDate is not set, the data is sorted by the xAxis field by default. Setting this property to true will maintain the sort order of the data as it is provided.

See Also