Skip to main content

CustomAxisLabel Class

Represents a custom label of an axis.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

public class CustomAxisLabel :
    ChartNonVisualElement,
    ICustomAxisLabel,
    IAxisValueContainer

#Returned By

The ChartHitInfo.CustomAxisLabel property returns an instance of CustomAxisLabel.

#Remarks

The CustomAxisLabel instances reside in the CustomAxisLabelCollection, returned by the Axis2D.CustomLabels property of an Axis2D class descendant.

The CustomAxisLabel class exposes the CustomAxisLabel.Value property, that defines the axis value to which the label corresponds.

NOTE

The custom labels of an axis cannot be displayed together with its default labels. If an axis has any custom label, the default labels are disabled for this axis.

See Also