Page 1 of 1

Cursor Tool Position in center

Posted: Tue Dec 20, 2005 3:58 am
by 9235196
My procedure is:
1. add series
2. add cursor tool...set settings to cursor tool
3. set the position to 0, ChartTool1->XValue1
But the cursor shown is in the middle?

Posted: Tue Dec 20, 2005 11:56 am
by narcis
Hi Herman,

This works fine doing something like this:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1.FillSampleValues(1000);
  Chart1.Draw;
end;

procedure TForm1.Chart1AfterDraw(Sender: TObject);
begin
  ChartTool1.XValue:=0;
  ChartTool1.YValue:=0;
end;