Table of Contents

TTMSFNCCandleStickChart.XYToClosestDrawPoint Method

Returns True and fills ADrawPoint when the closest rendered point to the screen coordinates is within the click margin.

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

Syntax

function XYToClosestDrawPoint(X, Y: Double; var ADrawPoint: TTMSFNCChartDrawPoint): Boolean;

Parameters

Name Description
X Horizontal screen coordinate.
Y Vertical screen coordinate.
ADrawPoint Receives the draw data for the closest detected point.

Returns

Returned value.