Problems with Tfastlineseries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Oppi
Newbie
Newbie
Posts: 12
Joined: Thu May 27, 2004 4:00 am

Problems with Tfastlineseries

Post by Oppi » Mon Oct 04, 2004 7:37 am

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

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Oct 04, 2004 1:18 pm

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;

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Mon Oct 04, 2004 3:25 pm

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.
Marjan Slatinek,
http://www.steema.com

Post Reply