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

NavigationOptions.AxisXMaxZoomPercent Property

Gets or sets the maximum zoom factor as a percentage for the X-axis.

Namespace: DevExpress.Xpf.Charts

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, DevExpress.Wpf.Charts

Declaration

public double AxisXMaxZoomPercent { get; set; }

Property Value

Type Description
Double

A zoom factor percentage value.

Property Paths

You can access this nested property as listed below:

Object Type Path to AxisXMaxZoomPercent
XYDiagram2D
.NavigationOptions .AxisXMaxZoomPercent

Remarks

The AxisXMaxZoomPercent and NavigationOptions.AxisYMaxZoomPercent properties specify zoom limits. Set these properties to a number from 100 to 10,000 (maximum zoom). When a user reaches the limits, the mouse pointer changes to ZoomingAndScrolling_Zooming04.png.

Use the following markup to specify the maximum zoom value for the X-axis:

<dxc:XYDiagram2D>
    <dxc:XYDiagram2D.NavigationOptions>
        <dxc:NavigationOptions 
            AxisXMaxZoomPercent="500"/> 
    </dxc:XYDiagram2D.NavigationOptions>
</dxc:XYDiagram2D>
See Also