Back to Devexpress

XYDiagram2D.EnableAxisYZooming Property

corelibraries-devexpress-dot-xtracharts-dot-xydiagram2d-b8f7296b.md

latest4.1 KB
Original Source

XYDiagram2D.EnableAxisYZooming Property

Specifies whether zooming is allowed for the diagram’s panes along their Y-axes.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public bool EnableAxisYZooming { get; set; }
vb
<XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)>
Public Property EnableAxisYZooming As Boolean

Property Value

TypeDescription
Boolean

true to allow Y-axis zooming; otherwise, false.

|

Remarks

Use the EnableAxisYZooming property to specify whether it’s allowed to zoom the diagram‘s panes along their Y-axes, both at design and runtime.

Important

The EnableAxisYZooming property affects on the diagram’s zooming capability only on the WinForms platform. The ASP.NET WebForms Chart Control and MVC Chart Extension do not support this feature.

After you’ve specified the EnableAxisYZooming property, you can individually adjust the capability to zoom the Y-axis of each pane, via its XYDiagramPaneBase.EnableAxisYZooming property. And, the default value of the XYDiagramPaneBase.EnableAxisYZooming property means that the actual setting for this pane is obtained from the EnableAxisYZooming property.

At runtime, you can get the actual status for a pane’s Y-axis zooming via the read-only XYDiagramPaneBase.ActualEnableAxisYZooming property.

Note

When the EnableAxisYZooming property is enabled, the XYDiagram2D.ZoomingOptions property becomes available, which allows you to choose ways in which zooming can be performed (via the mouse and / or keyboard or using spread or pinch gestures in your touchscreen device).

For the X-axis, the similar XYDiagram2D.EnableAxisXZooming property is available.

To enable scrolling along the Y-axis of the diagram’s panes, use the XYDiagram2D.EnableAxisYScrolling property.

For more information, refer to Zooming and Scrolling (2D XY-Charts).

See Also

EnableAxisXZooming

EnableAxisYScrolling

ZoomingOptions

EnableAxisYZooming

ActualEnableAxisYZooming

Zoom and Scroll in 2D XY-Charts

XYDiagram2D Class

XYDiagram2D Members

DevExpress.XtraCharts Namespace