Contents  All Classes  Index A-Z  All Units


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;



Submit your feedback about this page.

Copyright 1995-2007 © by Steema Software. All Rights Reserved.