.netCHARTING v10.3 Documentation
Example 


dotnetCHARTING Namespace > ChartArea Class : StartDateOfYear Property
StartDateOfYear Property (ChartArea)
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 ChartArea
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