Welcome Guest Search | Active Topics |

How to add a new point without redraw
yitao
#1 Posted : Saturday, May 25, 2013 2:46:25 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/25/2013(UTC)
Posts: 3

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
How to add a new point without redraw?
How to update a existed point without redraw?
Maybe I should ask how to update or add the existed data points, make it looks like without redraw?
I just need draw two data points,but the jqChart('update') redraw all other data points.
Dragan
#2 Posted : Sunday, May 26, 2013 3:07:36 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)
Currently you need to redraw (with jqChart('update') ) the chart when you change the data. What's the issue when redraw? jqChart is quite fast and redrawing shouldn't be an issue.
Best Regards,
Dragan Matek
jqChart Inc.
yitao
#3 Posted : Sunday, May 26, 2013 6:12:51 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/25/2013(UTC)
Posts: 3

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
the issue is that don't looks like real-time when there are so many data points。
yitao
#4 Posted : Sunday, May 26, 2013 6:16:58 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/25/2013(UTC)
Posts: 3

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
the issue is that don't looks like real-time when there are so many data points. The datas come form server almost every second.
Dragan
#5 Posted : Monday, May 27, 2013 1:25:57 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)
I understand. Currently the chart doesn't support transition animations and you need to use the chart "update" method.
Best Regards,
Dragan Matek
jqChart Inc.
techno2mahi
#6 Posted : Tuesday, May 28, 2024 6:17:16 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/28/2024(UTC)
Posts: 2

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I have been struggling with this redraw for a month now. We have a requirement of drawing 200k points and every second there is a addition of 5 points as received from a realtime data source. This chart is being drawn and we observe a lag when the page contains multiple of the charts and it spikes the chrome memory footprint and CPU.
We are using jquery-3.6.0 jquery.jqChart-4.1.0 libraries.

A sample code for the same is posted in this forum.
https://stackoverflow.co...g-the-whole-chart-but-d



Users browsing this topic
Guest (5)
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.101 seconds.