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.

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 BasicCopy Code
de.StartDateOfYear = New DateTime(2004, 3, 1)

Remarks

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

See Also

© 2018 All Rights Reserved.