ComponentOne FlexChart for WPF
Axes
FlexChart > Understanding FlexChart > FlexChart Fundamentals > Axes

In a chart, there are two primary axes: 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 Sets the style of the axis.
Title Sets the titles of 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 distance between axis labels.
OverlappingLabels Indicates how to handle overlapping axis labels.

Axis Grouping Properties

Property Description
GroupNames Sets the group name for the axis labels.
GroupItemsPath Sets the group name for the axis labels in hierarchical data.
GroupSeparator Set the axis group separator.
GroupProvider Sets the axis group provider.

Scaling, Tick Mark, and Grid line Properties

Property Description
MajorGrid Determines whether the axis includes major grid lines.
MajorGridStyle Contains properties to control the appearance of the major grid lines drawn perpendicular to the major tickmarks.
MinorGrid Determines whether the axis includes minor grid lines.
MinorGridStyle Contains properties to control the appearance of the minor grid lines drawn perpendicular to the minor tickmarks.
MajorTickMarks Indicates the appearance of major tick marks.
MinorTickMarks Indicates the appearance of minor 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.

 For more information on Axes, refer to FlexChart Axes.