property Chart.WeekDays as String
Retrieves or sets a value that indicates the list of names for each week day, separated by space.

 TypeDescription 
   String A String expression that indicates the name of the days in the week, separated by spaces.  
By default, the WeekDays property is "Sunday Monday Tuesday Wednesday Thursday Friday Saturday". The order of week days is Sunday, Monday, and so on. The FormatDate property formats a date. Use the MonthNames property to specify the name of the months in the year. Use the AMPM property to specify the name of the AM and PM indicators. Use the Label property to specify the label being displayed in the level. Use the Label property to specify the predefined format for a level based on the unit time. Use the ToolTip property to specify the tool tip being displayed when the cursor hovers the level. Use the FirstWeekDay property to specify the first day in the week.

The WeekDays property specifies the name of the days in the week for the following built-in tags:

The following VB sample assigns Romanian name for days in the week:

With G2antt1.Chart
    .WeekDays = "Duminica Luni Marti Miercuri Joi Vineri Simbata"
End With

The following C++ sample assigns Romanian name for days in the week:

m_g2antt.GetChart().SetWeekDays( "Duminica Luni Marti Miercuri Joi Vineri Simbata" );

The following VB.NET sample assigns Romanian name for days in the week:

With AxG2antt1.Chart
    .WeekDays = "Duminica Luni Marti Miercuri Joi Vineri Simbata"
End With

The following C# sample assigns Romanian name for days in the week:

axG2antt1.Chart.WeekDays = "Duminica Luni Marti Miercuri Joi Vineri Simbata";

The following VFP sample assigns Romanian name for days in the week:

With thisform.G2antt1.Chart
	.WeekDays = "Duminica Luni Marti Miercuri Joi Vineri Simbata"
EndWith

 


Send comments on this topic.
1999-2017 Exontrol.COM, Software. All rights reserved.