Scale method

Applies to

TAxis

Declaration

function Scale(Value: TReal; Abs: boolean=true): Integer; overload; public

Description

Calculates integer position (absolute or relative) from the beginning of axis. Must be called after (or from within) TAxis.Paint. This method raises TPlot.OnError event if calculated integer value is out-of-range, e.g. when point coordinates in no-clip mode or plot selection are too far from the axis scale.