corelibraries-devexpress-dot-xtracharts-dot-zoomingoptions2d-254ef736.md
Gets or sets the maximum zoom factor as a percentage for the Y-axis.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
public double AxisYMaxZoomPercent { get; set; }
Public Property AxisYMaxZoomPercent As Double
| Type | Description |
|---|---|
| Double |
A zoom factor percentage value.
|
You can access this nested property as listed below:
| Object Type | Path to AxisYMaxZoomPercent |
|---|---|
| XYDiagram2D |
.ZoomingOptions .AxisYMaxZoomPercent
|
The ZoomingOptions2D.AxisXMaxZoomPercent and AxisYMaxZoomPercent properties specify zoom limits. Set these properties to 100 or higher. When a user reaches the limits, the mouse pointer changes to .
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;
Dim diagram As XYDiagram = CType(chartControl1.Diagram, XYDiagram)
diagram.ZoomingOptions.AxisXMaxZoomPercent = 500
diagram.ZoomingOptions.AxisYMaxZoomPercent = 500
See Also