AxisLabel Class
Defines the settings of an axis’s labels or custom labels.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v18.1.dll
Declaration
Related API Members
The following members accept/return AxisLabel objects:
Remarks
The AxisLabel class declares properties that define the appearance settings of either labels or custom labels which are displayed by a particular axis. An object of the AxisLabel type can be accessed via the Axis2D.Label property of an axis.
Properties exposed via the AxisLabel class allow you to customize common label attributes such as:
- the color and font settings of the label’s text (TitleBase.TextColor and TitleBase.Font),
- the angle by which the label’s text is rotated (AxisLabel.Angle),
- apply antialising (smoothing) to the label’s text (TitleBase.Antialiasing),
- display labels in a staggered order (AxisLabel.Staggered),
- the visibility of axis labels (TitleBase.Visible).
Note that the AxisLabel.TextPattern property (which respectively define specific text for labels) cannot be applied to custom labels - they affect only the text of default axis labels.
Inheritance
See Also