SetMonthFormat method: Gantt class

Syntax

SetMonthFormat(Format)

Description

Use the SetMonthFormat method to specify the format of months on a time line axis.

Parameters

Parameter Description

Format

Specify the format of how the month should be displayed. Values are:

Value Description

%Chart_MonthFormat

Display the month using a one- or two-digit number.

Note: This is the default format.

%Chart_MonthFormat_2Digit

Note: This constant has been desupported; if specified, it defaults to %Chart_MonthFormat.

%Chart_MonthFormat_ FullName

Display the month using the full name.

%Chart_MonthFormat_ShortName

Display the month using the short name, such as Jan, Feb, and so on.

Returns

None.