TCustomSeries.Clicked

TCustomSeries.Clicked
TCustomSeries

function Clicked(X, Y: Integer): Integer; override;

Unit
Series

Description
This functions returns the ValueIndex of the "clicked" point in the Series.
Clicked means the X and Y coordinates are in the point screen region bounds.
If no point is "touched", Clicked returns -1

Example:

var tmp,x,y : Integer;
x:=Chart1.GetCursorPos.X;
y:=Chart1.GetCursorPos.Y;
tmp := Series1.Clicked( x,y );