Axis Class
Represents the base class for classes that provide axes functionality for 2D XY-series views.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v18.1.dll
Declaration
Remarks
The Axis class serves as a base for classes which provide both primary and secondary axes functionality for a 2D XY-chart, meaning that the properties and methods which are defined by the Axis class are common to all axes of an XY-Diagram.
In addition to the settings inherited from the base Axis2D class, the Axis class implements specific properties that allow you to control the following axis options.
- enable the automatic scale breaks detection algorithm for an axis (Axis.AutoScaleBreaks), or adjust axis scale breaks manually (Axis.ScaleBreaks and Axis.ScaleBreakOptions);
- reverse both an axis and its counterpart, and the associated diagram itself (Axis.Reverse).
For more information, refer to Axes.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Axis 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.