TCustomTriSurfaceSeries.Clicked

TCustomTriSurfaceSeries.Clicked
TCustomTriSurfaceSeries

function Clicked(x, y: Integer): Integer; override;

Unit
TeeTriSurface

Description
Returns the index of the TriSurface series triangle that is nearest to the specified XY screen pixel position.

Triangles are calculated based on the series XYZ point values.

See also the TrianglePoints method to obtain the screen pixel coordinates for the 3 points of a given triangle.