Welcome Guest Search | Active Topics |

Line performance on 60000 points
cpmbailey
#1 Posted : Monday, July 29, 2013 3:07:17 AM(UTC)
Rank: Member

Groups: ExpiredLicense, Registered
Joined: 3/19/2013(UTC)
Posts: 10

Thanks: 2 times
Was thanked: 0 time(s) in 0 post(s)
Hi, I'm trying to do a 60000 point line chart but it is taking about 8 seconds to render. I noticed that the version on the sample is incredibly quick, but wondered if it was the nature of that data not fluctuating very much. The data I am using is very noisy and almost like plotting random floats between 0 and 1.

I was going to try implementing some LOD by saying we only have x pixels available and trying to truncate the data, but realise that this is probably what jqChart is doing already and will also mean I lose the zoom. Is there anything I can do to improve it?

Thanks
Chris
Dragan
#2 Posted : Monday, July 29, 2013 4:19:07 AM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Is it possible to send us your sample, so we can look at it?
Best Regards,
Dragan Matek
jqChart Inc.
cpmbailey
#3 Posted : Monday, July 29, 2013 6:41:27 AM(UTC)
Rank: Member

Groups: ExpiredLicense, Registered
Joined: 3/19/2013(UTC)
Posts: 10

Thanks: 2 times
Was thanked: 0 time(s) in 0 post(s)
Let me do a bit more investigation. I think most of the problem might actually be server side

Thanks
cpmbailey
#4 Posted : Monday, July 29, 2013 6:50:51 AM(UTC)
Rank: Member

Groups: ExpiredLicense, Registered
Joined: 3/19/2013(UTC)
Posts: 10

Thanks: 2 times
Was thanked: 0 time(s) in 0 post(s)
Yes, it was mostly server side although I'm pretty sure it does get slower the 'noisier' the data is. So perhaps if you took the http://www.jqchart.com/j...rtPerformance/LineChart example and just did yValue = rather than yValue += in the for loop as a test.
Dragan
#5 Posted : Wednesday, July 31, 2013 12:08:24 PM(UTC)
Rank: Advanced Member

Groups: Administrators, DataVizJavaScript, jQueryChart, jQueryDV, MvcChart, Registered
Joined: 1/3/2011(UTC)
Posts: 483

Thanks: 0 times
Was thanked: 87 time(s) in 87 post(s)
Yes, the 'noisier' the data is, the speed will be slower.
Best Regards,
Dragan Matek
jqChart Inc.
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

FlatEarth Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.098 seconds.