Skip to main content
A newer version of this page is available. .

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.v20.1.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, 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 snippets (auto-collected from DevExpress Examples) contain references 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