In a chart, there are two primary axis: X and Y. There are, of course, exceptions when you work with pie charts.
In FlexChart, X-axis and Y-axis are represented by the AxisX and the AxisY property respectively. Both the properties return an Axis object comprising the properties given below:
Layout and Style Properties
Property |
Description |
AxisLine |
Determines whether the axis line is visible. |
AxisType |
Contains the type of the axis. |
Position |
Sets the position of the axis. |
Reversed |
Reverses the direction of the axis. |
Style |
Contains properties that set the style of the axis. |
Title |
Sets the title text to display next to the axis. |
Axis Label Properties
Property |
Description |
Format |
Sets the format string for the axis labels. |
LabelAlignment |
Sets the alignment of the axis labels. |
LabelAngle |
Set the rotation angle of the axis labels. |
Labels |
Determines whether the axis labels are visible. |
MajorUnit |
Sets the number of units between axis labels. |
Scaling, Tick Mark, and Gridline Properties
Property |
Description |
ActualMax |
Gets the current axis maximum value. |
ActualMin |
Gets the current axis minimum value. |
MajorGrid |
Determines whether the axis includes gridlines. |
MajorGridStyle |
Contains properties to control the appearance of the grid lines drawn perpendicular to the major tick marks. |
MajorTickMarks |
Sets the location of the axis tick marks. |
Max |
Sets the maximum value for the axis. |
Min |
Sets the minimum value for the axis. |
Origin |
Sets the value at which an axis crosses the perpendicular axis. |
Axis Grouping Properties
For more information on axis, refer to FlexChart Axis.