Skip to main content
Table of Contents

TTMSFNCOHLCChart.XYToLegendItem Method

Returns the index of the chart-level legend item under the given screen coordinates; returns -1 if none.

API unit family: TMSFNCChart Declaring type: TTMSFNCOHLCChart Inherited from: TTMSFNCChart

Syntax

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

Parameters

Name Description
X Horizontal screen coordinate.
Y Vertical screen coordinate.

Returns

Returned value.