Back to Devexpress

Axis Custom Label

windowsforms-1990-controls-and-libraries-chart-control-visual-elements-axis-custom-label.md

latest2.3 KB
Original Source

Axis Custom Label

  • Feb 24, 2023

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.

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

Axis Labels

How to: Create Custom Axis Labels