Page 1 of 1

bug in TeeChart 7.02 for Delphi 2005 ?

Posted: Mon Jan 24, 2005 12:49 pm
by 9336404
Dear Steema-Team !

I encountered an annoying bug in TeeChart 7.02 for Delphi 2005 (Win XP). I use a TChart with a line-series to draw the history of a pressure in mBar. So i have to update the Chart every second. With the old version (TeeChart 7.00 for Delphi 7) everything worked fine, but now i get an "out of resources" - exception when the program runs for a few hours.

After a few tests i figured out that everytime the TChart draws itself new (after i add a new value) it uses 2 or 3 more, new GDI objects (you can see that in the task manager - just select more columns then the standard columns).

You can test that out with a new project and an empty form. Just put a TChart in it, add a new line-series and TTimer and add every second a new value (with addxy). With the task manager you can see the loss of resources.

Please fix that bug, because i can't use the component until then.

with kind regards,

The Punisher

Posted: Mon Jan 24, 2005 2:41 pm
by Marjan
Hi.
annoying bug in TeeChart 7.02 for Delphi 2005 (Win XP).
Yes, we are aware of this problem. Actually, the problem is in Delphi 2005 TPen implementation (Delphi 2005 bug). David already found a workaround/fix which will be included in 7.04 maintenance release.

Posted: Mon Jan 24, 2005 2:55 pm
by 9336404
Hi Marjan !

Thanks for the fast reply. Could you please tell me when the maintance release will be finished ? Or just post (or send me) the workaround for this (if its not too complicated). I am a source-code customer so i could change this until the relase by myself and recompile the whole package.

yours,

The Punisher

Posted: Mon Jan 31, 2005 10:20 am
by 9336404
Hi Steema-Team !

Please tell me when the release will come. I had to disable the Chart now, because my program crashes after a few hours ("out of resources").

If it's too long until the release will come, please tell me how to implement the fix myself. I don't have the time to search for a workaround myself, so i would appreciate if you sent me the solve for that problem.

Thanks in advance,

The Punisher

Posted: Thu Feb 03, 2005 11:30 am
by 9336404
I don't think my questions are so hard to answer. Just say no or don't know if you don't want to answer :roll: :cry: :roll:

Posted: Thu Feb 03, 2005 1:00 pm
by Marjan
Hi.

Please contact me directly at "marjan at steema dot com" and I'll send you the latest 7.04 TeCanvas.pas. The official 7.04 version will also be available shortly.