TChartSeries.CalcPosValue

TChartSeries.CalcPosValue
TChartSeries

function CalcPosValue(Const Value: Double): Integer;

Unit
TeEngine

Description
Returns the coordinate position in pixels corresponding to the "Value" parameter in axis scales.

Example of use:

procedure TForm1.Chart1AfterDraw(Sender: TObject);
var tmp : Integer;
begin
tmp:=Series1.CalcPosValue( 123 );
with Chart1.Canvas do
Rectangle(tmp-5,tmp-5,tmp+5,tmp+5);
end;