Back to Devexpress

TdxChartXYDiagramBeforeZoomEvent Type

vcl-dxchartxydiagram-7edcc300.md

latest2.0 KB
Original Source

TdxChartXYDiagramBeforeZoomEvent Type

The procedural type for zoom operation initiation events in an XY diagram.

Declaration

delphi
TdxChartXYDiagramBeforeZoomEvent = procedure(Sender: TdxChartXYDiagram; AArgs: TdxChartXYDiagramBeforeZoomEventArgs) of object;

Parameters

NameTypeDescription
SenderTdxChartXYDiagram

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.

|

Remarks

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

TdxChartXYDiagramScrollEvent Procedural Type

dxChartXYDiagram Unit