dotnetCHARTING Send comments on this topic.
StartDateOfYear Property
See Also  Example
dotnetCHARTING Namespace > ChartArea Class : StartDateOfYear Property

Gets or sets a DateTime object to determine the start month of the year when DateGrouping is used.


Visual Basic (Declaration) 
Public Property StartDateOfYear As Date
Visual Basic (Usage)Copy Code
Dim instance As ChartArea
Dim value As Date
instance.StartDateOfYear = value
value = instance.StartDateOfYear
public DateTime StartDateOfYear {get; set;}


This example change the year duration from Jan-Dec to Mar-Feb. Beside month, other values are ignored.
C#Copy Code
de.StartDateOfYear = new DateTime(2004,3,1);
Visual BasicCopy Code
de.StartDateOfYear = New DateTime(2004, 3, 1)


This property determine the start month of the year. The default is January.

See Also

© 2019 All Rights Reserved.