Skip to main content

AxisX2D Class

Represents the X-axis of a XYDiagram2D class.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public class AxisX2D :
    Axis2D

Remarks

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.

Example

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

View Example

<dxc:XYDiagram2D.AxisX>
    <dxc:AxisX2D Range="SideMarginsEnabled=False" />
</dxc:XYDiagram2D.AxisX>

The following code snippets (auto-collected from DevExpress Examples) contain references to the AxisX2D 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