Page 1 of 1

Problems with Tfastlineseries

Posted: Mon Oct 04, 2004 7:37 am
by 9337635
Hi!

I am experiencing difficulties with these series. Add one fastline series to the chart and set the penstyle property to something different to pssolid and set the pen width to 2 for example. Then zoom in several times and the computer will hang.

Also I would like to ask when the new maintenance of TChart is going to be released because I really need the correct working zoom function.

Best regards

Oppi

Posted: Mon Oct 04, 2004 1:18 pm
by Pep
Hi Oppi,

which teeChart Pro version are you using ?
I cannot reproduce the problem here with the v7.01 and the following code :

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.FillSampleValues(10000);
Series1.LinePen.Style := psDash;
Series1.LinePen.Width := 2;
end;

Posted: Mon Oct 04, 2004 3:25 pm
by Marjan
Hi.

If you're using older operating systems like Win9X or WinMe, then setting Pen.Width to value greater than 1 will internally set pen style to psSolid. This is a Delphi/Windows GDI limitation. If you're using Win2k, WinXP or Win2003, then setting the pen Width to value greater than 1 should preserve pen style as well.