Skip to main content

XYDiagramSeriesViewBase.AxisX Property

Specifies the X-axis, that is used to plot the current series on a XYDiagram.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v22.2.dll

NuGet Package: DevExpress.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public AxisXBase AxisX { get; set; }

Property Value

Type Description
AxisXBase

An AxisX or a SecondaryAxisX object, that is the X-axis for the current series.

Remarks

The AxisX class inherits properties and methods from the base Axis class which implements the common axes functionality, and represents a primary axis of arguments within a chart control in 2D series (except for Swift Plot and Swift Point).

The SecondaryAxisX class is derived from the same base class and represents a secondary axis on a diagram. The collection of secondary axes is available via the XYDiagram.SecondaryAxesX property.

Any data series of an XY-type can be plotted with a primary axis or any of the secondary axes.

For more information, refer to Primary and Secondary Axes.

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

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