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

TdxChartXYDiagramBeforeZoomEvent Type

The procedural type for zoom operation initiation events in an XY diagram.

#Declaration

Delphi
TdxChartXYDiagramBeforeZoomEvent = procedure(Sender: TdxChartXYDiagram; AArgs: TdxChartXYDiagramBeforeZoomEventArgs) of object;

#Parameters

Name Type Description
Sender TdxChartXYDiagram

Provides access to the XY diagram that raised the current zoom initiation event.

AArgs TdxChartXYDiagramBeforeZoomEventArgs

Provides access to information related to the current zoom initiation event. You can set the AArgs.Cancel property to True to cancel the pending zoom operation depending on certain conditions.

#Remarks

You can use AArgs.Axis and AArgs.NewRange properties to identify the target axis for the pending zoom operation and the new visible minimum and maximum scale values after the operation. Refer to the TdxChartXYDiagramBeforeZoomEventArgs class description for detailed information on available options.

An XY diagram‘s OnBeforeZoom event references the TdxChartXYDiagramBeforeZoomEvent procedural type.

See Also