Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

Axis Custom Label

Custom Axis Labels can be used to display custom text along an axis. If custom labels are provided for an axis, its automatically generated default labels are not displayed by default. For more detailed information, refer to Axis Labels.

Note

It is possible to display default labels with custom labels. To do this, set the Axis2D.LabelVisibilityMode property to AxisLabelVisibilityMode.AutoGeneratedAndCustom.

CustomAxisLabels

The table below lists the main properties which affect the element’s appearance and functionality:

Availability

The Axis2D.CustomLabels property of an axis, the CustomAxisLabelCollection.Item property of the custom axis label collection.

Appearance

AxisLabel.Angle, SeriesLabelBase.EnableAntialiasing, SeriesLabelBase.DXFont, AxisLabel.Staggered, SeriesLabelBase.TextColor

Position

CustomAxisLabel.AxisValue

Contents

ChartElementNamed.Name

Visibility

CustomAxisLabel.Visible

See Also