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 |
Gets or sets the text alignment within the axis display. Inherits from the ChartArea. | |
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. |
Sets the color used to display the axis, tickmarks, and values. | |
Gets or sets whether axis and gridlines appear on top of the chart image. | |
Gets or sets whether the axis is normal or reversed (ascending or descending). | |
Sets a string to display next to the axis (this is typically used to describe the variable and units being depicted by the axis). | |
Sets the orientation of the Text string. |
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |