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

TdxChartXYDiagramZoomEvent Type

The procedural type for zoom notification events.

#Declaration

Delphi
TdxChartXYDiagramZoomEvent = procedure(Sender: TdxChartXYDiagram; AArgs: TdxChartXYDiagramZoomEventArgs) of object;

#Parameters

Name Type Description
Sender TdxChartXYDiagram

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

AArgs TdxChartXYDiagramZoomEventArgs

Provides access to information related to the current zoom notification event. Use this parameter to identify scale changes after the zoom operation.

#Remarks

You can use AArgs.OldXRange, AArgs.OldYRange, AArgs.NewXRange, and AArgs.NewYRange properties to obtain scales of the axis of arguments (X-Axis) and the axis of values (Y-Axis) after the zoom operation.

An XY diagram‘s OnZoom event references the TdxChartXYDiagramZoomEvent procedural type.

See Also