Skip to main content
A newer version of this page is available. .

AxisBase Class

Represents the base class for classes that provide axes functionality for a chart control.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.1.dll

Declaration

[TypeConverter(typeof(AxisBaseTypeConverter))]
public abstract class AxisBase :
    ChartElementNamed,
    IAxisData,
    IAxisElementContainer,
    IIntervalLayoutKey,
    ILogarithmic,
    IHitTest

Remarks

The AxisBase class serves as a base for the Axis and Axis3D classes which provide axes functionality for a chart control in 2D series and 3D series, respectively. The properties and methods which are defined by the AxisBase class implement the base axes functionality and are common to all axes.

Below are the main properties of the AxisBase class which expose the most important axis elements:

Property Axis Element
AxisBase.GridLines Provides access to the settings of an axis’s grid lines.
Axis2D.Label Gets an axis’s label object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AxisBase class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also