Back to Devexpress

ChartControl.BeforeZoom Event

windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-89ccc123.md

latest1.9 KB
Original Source

ChartControl.BeforeZoom Event

Occurs before the chart is zoomed.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.UI.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
public event ChartBeforeZoomEventHandler BeforeZoom
vb
Public Event BeforeZoom As ChartBeforeZoomEventHandler

Event Data

The BeforeZoom event's data class is ChartBeforeZoomEventArgs. The following properties provide information specific to this event:

PropertyDescription
AxisGets the axis whose visual range is changed when an end user zooms the chart.
CancelGets or sets the value that identifies whether the zooming should be canceled.
NewRangeThe new axis visual range.

Remarks

You can use the BeforeZoom event for the XY-Diagram and Swift Plot Diagram only.

When zooming is enabled for both axes, the BeforeZoom event is raised for each axis.

See Also

ChartControl Class

ChartControl Members

DevExpress.XtraCharts Namespace