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

function XYToLegendItem(X, Y: Double): Integer;

Parameters

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

Returns

Returned value.