GetPoint method

Applies to

TPlot

Declaration

function GetPoint(Point, Serie: integer; var X, Y: TReal): Boolean; public

Description

Returns true if point coordinates successfully calculated. If axis/serie expressions are used, you MUST define OnGetPoint handler with appropriate calculations, else this function just returns coordinates RData[XColumn], RData[YColumn] assuming that container holds TRealData items. For functional series, all calculations also must be performed in OnGetPoint. Again, you need this handler to plot data types other than TRealData ============ NOTICE: we MUST define X, Y parameters types in TGetPointEvent as extended, because otherwise Delphi designer reports error in DataWnd.pas (wrong event handler parameter list). Probably "extended" type remembered in DFM instead of TReal!!! So we cannot use TReal in published properties. Since our TReal MAY be double, we need a workaround...