[]
        
(Showing Draft Content)

Axes

The X, Y, and Y2 properties of the ChartArea object returns Axis objects that allow you to customize the appearance of the chart axes. The axes are represented by sub-properties of the ChartArea property: ChartArea.AxisX, ChartArea.AxisY, and ChartArea.AxisY2. Each of these properties returns an Axis object with the following main properties:

Property Description
Alignment Gets or sets the text alignment within the axis display. Inherits from the ChartArea.
Compass Allows you to set the position of the axis. For example, you may want to display the X-axis above the data instead of below.
C1.Win.C1Chart.Style.Font Sets the font used to display the values along the axis.
ForeColor Sets the color used to display the axis, tickmarks, and values.
OnTop Gets or sets whether axis and gridlines appear on top of the chart image.
Reversed Gets or sets whether the axis is normal or reversed (ascending or descending).
Text Sets a string to display next to the axis (this is typically used to describe the variable and units being depicted by the axis).
Rotation Sets the orientation of the Text string.

See Also

Axis Position

Axis Appearance

Axis Title and Rotation

Axis Tick Marks

Axis Grid Lines

Axis Bounds

Axis Scrolling and Scaling

Axis Logarithmic Scaling

Inverted and Reversed Chart Axes