vcl-dxchartxydiagram-57b26b8b.md
The procedural type for zoom notification events.
TdxChartXYDiagramZoomEvent = procedure(Sender: TdxChartXYDiagram; AArgs: TdxChartXYDiagramZoomEventArgs) of object;
| 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.
|
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