Skip to main content

AxisX2D Class

Represents the X-axis of a XYDiagram2D class.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v23.1.dll

NuGet Package: DevExpress.Wpf.Charts


public class AxisX2D :


An instance of the AxisX2D class can be accessed via the XYDiagram2D.AxisX property. To learn more on the functionality provided by the AxisX2D class, see the descriptions of its Axis and Axis2D base classes.


The following example demonstrates how to change the AxisRange.SideMarginsEnabled property value.

View Example

    <dxc:AxisX2D Range="SideMarginsEnabled=False" />

The following code snippets (auto-collected from DevExpress Examples) contain references to the AxisX2D class.


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