Skip to main content
Table of Contents

TTMSFNCChartSerie.XYToLegendItem Method

Returns the index of the legend item at canvas coordinates (X, Y), or -1 when not found.

API unit family: TMSFNCChart Declaring type: TTMSFNCChartSerie

Syntax

FMX.TMSFNCChart.hppPascalC++
function XYToLegendItem(X, Y: Double): Integer;
int __fastcall XYToLegendItem(double X, double Y);

Parameters

Name Description
X Canvas x-coordinate to test.
Y Canvas y-coordinate to test.

Returns

Returned value.