Skip to main content

TdxChartXYDiagramZoomEvent Type

The procedural type for zoom notification events.

Declaration

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