SetYearFormat method: Gantt class
Syntax
SetYearFormat(Format)
Description
Use the SetYearFormat method to specify the format of years on the time line axis.
Parameters
| Parameter | Description |
|---|---|
|
Format |
Specify the format of how the year should be displayed. Values are: |
| Value | Description |
|---|---|
|
%Chart_YearFormat |
Display the year in a numeric one- or two-digit format. |
|
%Chart_YearFormat_2Digit |
Note: This constant has been desupported; if specified, it defaults to %Chart_YearFormat _4Digit. |
|
%Chart_YearFormat_4Digit |
Display the year in a numeric four-digit format. Note: This is the default format. |
Returns
None.