Table of Contents

TTMSFNCBarChartSerie.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: TTMSFNCBarChartSerie Inherited from: TTMSFNCChartSerie

Syntax

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

Parameters

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

Returns

Returned value.