The X and Y properties of the ChartAxes object returns ChartAxis objects that allow you to customize the appearance of the chart axes. The axes are represented by sub-properties of the ChartAxes property: ChartAxes.X and ChartAxes.Y. Each of these properties returns a ChartAxis object with the following main properties:
Axis Property |
Description |
A value that indicates the alignment of the axis text. The default value for this property is ChartAxisAlignment.Center. |
|
A value that indicates the format string of annotation. |
|
A value that indicates the method of annotation. The default value for this property is ChartAxisAnnoMethod.Values. |
|
A value that indicates whether the major tick mark values are calculated automatically. The default value for this property is true. |
|
A value that indicates whether the maximum axis value is calculated automatically. |
|
A value that indicates whether the minimum axis value is calculated automatically. The default value for this property is True. |
|
A value that indicates whether the minor tick mark values are calculated automatically. The default value for this property is true. |
|
A value that indicates the compass of the axis. The default value for this property is ChartCompass.South. |
|
A value that provides information for the major grid line. |
|
A value that provides information for the minor grid line. |
|
A value that provides information for the labels. |
|
A value that indicates the maximum value of the axis. The default value for this property is 0. |
|
A value that indicates the minimum value of the axis. The default value for this property is 0. |
|
A value that indicates the origin value of the axis. |
|
A value that indicates the text of the axis. |
|
A value that indicates the style of text of the axis. |
|
A value that indicates the visibility of the axis text. The default value for this property is True. |
|
A value that provides information for the major tick. |
|
A value that provides information for the minor tick. |
|
A value that indicates the units between major tick marks. The default value for this property is 0. |
|
A value that indicates the units between minor tick marks. The default value for this property is 0. |
|
A value that indicates the visibility of the axis. The default value for this property is True. |