DownSampling performance issues

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
msureja
Newbie
Newbie
Posts: 6
Joined: Mon Sep 15, 2008 12:00 am

DownSampling performance issues

Post by msureja » Thu Jun 18, 2009 5:38 am

Hi

We are using Tchart license with source code (license number 14050297).

We have a lot of mouse interaction with chart. The ammount of Datapoints used to draw the chart is also huge of the order of 100000 points.
We are using downsampling to reduce size of rendered points. But the use of downsampling is giving a performance hit. We tried to profile this and found that most of the time is spent in the line "this.Chart.Bitmap();" inside "AddPoints" function of "DownSampling" class.

Can you please suggest some solution or probable cause of this issue.
Can we get rid of this function call.

Regards
- MS

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: DownSampling performance issues

Post by Sandra » Thu Jun 18, 2009 9:17 am

Hello msureja,

You can remove "this.Chart.Bitmap();" but in more cases not works fine. For example if you see the demo "All Features\Welcome !\Functions\Extended\Reducing number of points\DownSampling Additions", when you remove this call and do unzoomed the functiont not recalculate correctly until repaint Chart.

Also, If you want to send us a simple example we can run "as-is" we try to optimize it. You can either post your file at news://www.steema.net/steema.public.attachments newsgroups or at our upload page. Now, also you can upload attachment allowed the post.

Thanks,
Best Regards,
Sandra Pazos / 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

Post Reply