Page 1 of 1

Tchart is very slow while plotting hours of data

Posted: Tue Nov 11, 2008 4:24 am
by 14049736
Hi,
I am using TChart wpf.
I have tried to plot 500000 points in tchart. It takes 5 to 6 seconds to plot the entire data, moreover it is very slow when i zoom or pan these points. I will have 6 or 7 lineseries with this much amount of data. Is there any way to optimize the performance?(I have history data not realtime).
Do i need to perform any filtering in my data source? But if do that while zooming user may not able see the data in second accuracy. what to do?

Any suggestions ?

Posted: Tue Nov 11, 2008 4:37 am
by 14049736
Sorry, accidentally i posted in ActiveX Section :(

Posted: Tue Nov 11, 2008 8:22 am
by narcis
Hi vijay,

No problem, I moved the thread to the .NET forum.

WPF is slower than GDI+ and WinForms applications. We don’t think WPF was designed for intensive drawing, it was designed for aesthetic drawing. Does a similar WinForms application has same performance?

For enhancing your applications performance you could try implementing hints provided in the Real-time Charting article here.

You could also filter your data using DownSampling function as shown in the All Features\Welcome !\Functions\Extended\Reducing number of points examples at the features demo, available at TeeChart's program group.