.netCHARTING v10.5 Documentation
Example 


dotnetCHARTING Namespace > Chart Class : DateGroupingSort Property
DateGroupingSort Property (Chart)
Gets or sets a value indicating whether to maintain the sort order of the data as it is provided.
Syntax
'Declaration
 
Public Property DateGroupingSort As Boolean
'Usage
 
Dim instance As Chart
Dim value As Boolean
 
instance.DateGroupingSort = value
 
value = instance.DateGroupingSort
public bool DateGroupingSort {get; set;}
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.
Example
Chart.DateGroupingSort = true;
Chart.DateGroupingSort = true
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also