dotnetCHARTING Send comments on this topic.
DateGroupingSort Property
See Also  Example
dotnetCHARTING Namespace > ChartArea 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 ChartArea
Dim value As Boolean
 
instance.DateGroupingSort = value
 
value = instance.DateGroupingSort
C# 
public bool DateGroupingSort {get; set;}

Example

C#Copy Code
           [C#]
Chart.DateGroupingSort = true;
    
C#Copy Code
           [Visual Basic]
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

© 2010 All Rights Reserved.