IContourLevels.Clicked
IContourLevels

function Clicked(XCoord, YCoord: Integer; Var SegmentIndex, PointIndex: Integer): Integer;

Type Library
TeeChartx

Description
Returns -1 if the XY pixel coordinates are *not* over any level segment lines.

Returns the level index (starting from zero) otherwise.

Example

'where Series(0) is a ContourSeries

levelndex = TChart1.Series(0).Clicked(X, Y) ' Get the contour point index.

If levelndex <> -1 Then

myText = Format(TChart1.Series(0).asContour.Levels.Items(levelndex).UpToValue, "0.0")