Slow Repaint

TeeChart for ActiveX, COM and ASP
Post Reply
Meirs
Newbie
Newbie
Posts: 11
Joined: Wed Jul 27, 2005 4:00 am
Contact:

Slow Repaint

Post by Meirs » Thu Nov 30, 2006 12:09 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Nov 30, 2006 1:01 pm

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Meirs
Newbie
Newbie
Posts: 11
Joined: Wed Jul 27, 2005 4:00 am
Contact:

Post by Meirs » Thu Dec 07, 2006 8:05 am

I can't access the newsgroup from my computer, Is there any other way I can send you a sample? can I email it?
Thanks

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

Post by Pep » Thu Dec 07, 2006 10:03 am

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.

Post Reply