Represents the base class for classes that provide axes functionality for a chart control in 2D series views.
NuGet Package: DevExpress.Charts
public abstract class Axis2D : AxisBase, IXtraSupportDeserializeCollectionItem, ICrosshairAxis, IPatternHolder, IResolveLabelsOverlappingAxis, IIntervalContainer, ISupportVisibilityControlElement
Public MustInherit Class Axis2D Inherits AxisBase Implements IXtraSupportDeserializeCollectionItem, ICrosshairAxis, IPatternHolder, IResolveLabelsOverlappingAxis, IIntervalContainer, ISupportVisibilityControlElement
Related API Members
The following members return Axis2D objects:
The Axis2D class serves as a base for the AxisX and AxisY classes which provide axes functionality for a chart control in all 2D series, except for the Swift Plot and Swift Point.
In addition to the settings inherited from the base AxisBase class, the Axis2D class implements specific properties that allow you to control the following axis options.
- axis appearance and position (Axis2D.Alignment, Axis2D.Color and Axis2D.Thickness);
- axis elements (Axis2D.ConstantLines, Axis2D.CustomLabels, Axis2D.Label, Axis2D.Strips, Axis2D.Tickmarks and Axis2D.Title);
- overall axis visibility, and visibility in panes (Axis2D.Visible and Axis2D.VisibilityInPanes).
For more information, refer to Axes.