vcl-dxchartxydiagram-7edcc300.md
The procedural type for zoom operation initiation events in an XY diagram.
TdxChartXYDiagramBeforeZoomEvent = procedure(Sender: TdxChartXYDiagram; AArgs: TdxChartXYDiagramBeforeZoomEventArgs) of object;
| 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.
|
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
TdxChartXYDiagramZoomEvent Procedural Type