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


Gets or sets a DayOfWeek enumeration that indicates the starting day of the week when DateGrouping is used.

Syntax

Visual Basic (Declaration) 
Public Property StartDayOfWeek As DayOfWeek
Visual Basic (Usage)Copy Code
Dim instance As ChartArea
Dim value As DayOfWeek
 
instance.StartDayOfWeek = value
 
value = instance.StartDayOfWeek
C# 
public DayOfWeek StartDayOfWeek {get; set;}

Example

C#Copy Code
            [C#] 
Chart.DateGrouping = TimeInterval.Weeks; 
Chart.StartDayOfWeek = DayOfWeek.Monday; 
  
//For complete code, see StartDayOfWeek.aspx sample. 
    
C#Copy Code
            [Visual Basic] 
Chart.DateGrouping = TimeInterval.Weeks 
Chart.StartDayOfWeek = DayOfWeek.Monday 
  
'For complete code, see StartDayOfWeek.aspx sample. 
    

See Also