Gets or sets a DateTime object to determine the start month of the year when
DateGrouping is used.
Syntax
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
|
C# |
|
public DateTime StartDateOfYear {get; set;} |
Example
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 Basic |
Copy Code |
de.StartDateOfYear = New DateTime(2004, 3, 1)
|
Remarks
See Also