Large Data Initial Loading Time

May 3, 2010 at 6:26 PM
Hello, I have very large DataSources that I am working with (250,000 points). I having an issue on the initial load of the chart when setting the DataSource. I was using a test case of a mere 25,000 points and still the load time is VERY(not practical) slow. In my testing I noticed that if i added the points to the DataSource using a timer the graph would dynamically update as it should and the speed never seemed to be impacted much...I added over 40,000 points this way just adding a point every millisecond. If i just try to load 25,000 points at one time (since the data is static) i run into the loading issue. Anyone work around this issue? Thanks! KP
Editor
May 4, 2010 at 2:01 AM

Hi,

Sorry I'm unable to answer at all you message entirely as I have very little free time which I can spend on Codeplex, but want to inform you that the version of LineChart that is based on DirectX is almost ready, and (as I think) we'll soon upload a СЕЗ version of it. This kind of chart has smaller initial load time and greater performance.

 

Best regards,

Mikhail.

May 4, 2010 at 12:11 PM
Thanks for the response, actually the problem was with my data. I was trying to plot 2 random channels just to get the graph going, but the x channel was not sorted in ascending order (aka y was not a function of x). When i changed the x channel data to something similar to the HelloWord example the speed seems to be acceptable. Looking forward to the new chart.
May 4, 2010 at 1:42 PM
I did notice however that when trying to create a scatter chart with 250,000 points the chart does not load. I'm assuming it is because it's trying to create 250,000 UIElements to represent the points and WPF has a hard time rendering that.
Editor
May 6, 2010 at 6:46 AM

You are right, it is pretty hard for WPF to draw quarter of million primitives at a moment. You should develop and apply some spacial filtering of these elements. As follows from my experience, WPF can draw without any lags and delays only some few thousands of UIElements.

Also I have noticed that when you have added to some panel some hundred thousands of elements, but only 10,000 or less of them are currently visible, WPF will allow to you to pan among these elements with nice performance.

Mikhail.

May 6, 2010 at 8:04 AM
Thecentury wrote:

You are right, it is pretty hard for WPF to draw quarter of million primitives at a moment. You should develop and apply some spacial filtering of these elements.

Is there an example or do you have any tips regarding 'spacial filtering' of data points drawn on a D3 line chart?

Jun 14, 2010 at 7:56 PM
is there any update on when the DirectX version will be ready?
Editor
Jun 20, 2010 at 12:18 PM

I'm sorry, but developer that is working on DirectX line chart is very busy now, so development is moving forward with small steps. He is now working on DirectX version of marker chart. As soon as he decide that quality of DirectX charts is ready for publishing, he will definitely publish these charts on codeplex.

I cannot name certain date.

Mikhail.

Jul 23, 2010 at 12:06 AM

Even without the DirectX version, anyone can shed some light on how to best filter 250K points on the D3 line chart?

Thanks.