Contents  All Classes  Index A-Z  All Units


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 );



Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.