Skip to main content

XYDiagram2D.AxisX Property

Gets the X-axis.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts


public AxisX2D AxisX { get; set; }

Property Value

Type Description

An AxisX2D object which represents the X-axis.


For more information on axes, see the Axes topic.


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 AxisX property.


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