Hello,
I'm experiencing the following performance issue with the ActiveX version of TChart Pro v7:
When creating a chart which has 6 fastLine series, with 4096 points each. calling repaint() on the chart takes a long time.
If I remove the calls to OnBeforeDrawChart or OnAfterDraw, the chart repaint() is quick, adding one of those events even without drawing on the chart, (i.e. Sub TChart1_OnBeforeDrawChart() End Sub) slows the repaint() method significantly.
I need to be able to draw lines on the chart based on input from the user, drawing without calling repaint() does not remove previous lines.
Any ideas would be much appreciated!
Thanks.
Slow Repaint
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Meirs,
Could you please send us a simple example we can run "as-is" to reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Could you please send us a simple example we can run "as-is" to reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Hi Meirs,
you can send me it directly to pep@steema.com and I'll take a look.
BTW, have you revised the "Fast delete and Fast pen" example included into the Teechart Pro Features demo project ? It shows how to use the "DeleteRange" method which could be helpfull for you.
you can send me it directly to pep@steema.com and I'll take a look.
BTW, have you revised the "Fast delete and Fast pen" example included into the Teechart Pro Features demo project ? It shows how to use the "DeleteRange" method which could be helpfull for you.
Pep Jorge
http://support.steema.com
http://support.steema.com