.netCHARTING v10.7 Documentation
Example 


dotnetCHARTING Namespace > Chart Class : StartDateOfYear Property
StartDateOfYear Property (Chart)
Gets or sets a DateTime object to determine the start month of the year when DateGrouping is used.
Syntax
'Declaration
 
Public Property StartDateOfYear As Date
'Usage
 
Dim instance As Chart
Dim value As Date
 
instance.StartDateOfYear = value
 
value = instance.StartDateOfYear
public DateTime StartDateOfYear {get; set;}
Remarks
This property determine the start month of the year. The default is January.
Example
This example change the year duration from Jan-Dec to Mar-Feb. Beside month, other values are ignored.
de.StartDateOfYear = new DateTime(2004,3,1);
de.StartDateOfYear = New DateTime(2004, 3, 1)
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