Back to Devexpress

TdxChartXYDiagramZoomEvent Type

vcl-dxchartxydiagram-57b26b8b.md

latest1.8 KB
Original Source

TdxChartXYDiagramZoomEvent Type

The procedural type for zoom notification events.

Declaration

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

Parameters

NameTypeDescription
SenderTdxChartXYDiagram

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

TdxChartXYDiagramBeforeZoomEvent Procedural Type

TdxChartXYDiagramScrollEvent Procedural Type

dxChartXYDiagram Unit