Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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