Skip to main content

XYDiagram2D.EnableAxisXNavigation Property

Specifies whether scroll and zoom operations are allowed for the X-Axis of the XY-Diagram 2D.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public bool EnableAxisXNavigation { get; set; }

Property Value

Type Description
Boolean

true to allow scrolling and zooming; otherwise, false.

Remarks

Use the EnableAxisXNavigation property to specify whether end users can scroll and zoom the X-axis of an XY-diagram.

For Y-axes, a similar XYDiagram2D.EnableAxisYNavigation property is available in the XYDiagram2D class.

 <dxc:ChartControl>
    <dxc:XYDiagram2D 
        EnableAxisXNavigation="True"
        EnableAxisYNavigation="True">
    </dxc:XYDiagram2D>
 </dxc:ChartControl>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EnableAxisXNavigation 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