Skip to main content

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public double AxisXMaxZoomPercent { get; set; }

Property Value

Type Description
Double

A zoom factor percentage value. The default value is 10000.

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 100 or higher. 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 an x-axis:

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

Refer to the following help topic for more information about chart zoom and scroll operations: Zoom and Scroll in 2D XY-Charts.

See Also