TTChartOnDragOver

type TTChartOnDragOver = procedure(ASender: TObject; X, Y: Integer; State: EDragState; Var Accept: WordBool) of object;

Type Library
TeeChartx

Description
Use a TTChartOnDragOver event to signal that the control can accept a dragged object so the user can drop or dock it.

Within the OnDragOver event, change the Accept parameter to False to reject the dragged object. Leave Accept as True to allow the user to drop or dock the dragged object on the control.

X and Y are screen coordinates in pixels. The State parameter specifies how the dragged object is moving over the control.

Note:Within the TTChartOnDragOver event, the Accept parameter defaults to True. However, if a TTChartOnDragOver event is not supplied, the TChart control rejects the dragged object, as if the Accept parameter were changed to False.