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

ZoomingOptions2D.AxisYMaxZoomPercent Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll

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

Declaration

public double AxisYMaxZoomPercent { 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 AxisYMaxZoomPercent
GanttDiagram
.ZoomingOptions .AxisYMaxZoomPercent
SwiftPlotDiagram
.ZoomingOptions .AxisYMaxZoomPercent
XYDiagram
.ZoomingOptions .AxisYMaxZoomPercent
XYDiagram2D
.ZoomingOptions .AxisYMaxZoomPercent

Remarks

The ZoomingOptions2D.AxisXMaxZoomPercent and 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 code to specify the maximum zoom value for the X and Y axes:

XYDiagram diagram =(XYDiagram)chartControl1.Diagram;
diagram.ZoomingOptions.AxisXMaxZoomPercent = 500;
diagram.ZoomingOptions.AxisYMaxZoomPercent = 500;
See Also