This is a migrated thread and some comments may be shown as answers.

[Solved] Dynamic chart data updating (real time)

8 Answers 856 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 2
Simon asked on 07 Jul 2015, 08:29 AM
I know that it is currently possible to refresh or redraw a Kendo chart, by using a chart bound to a datasource. However, is it possible, using Kendo UI to update a chart by just adding the updated data, so that the bar grows, rather than having to be refreshed in its entirety?Thanks in advance.

8 Answers, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 09 Jul 2015, 05:00 AM
Hi Simon,

Partially refreshing the Chart widgets is not supported. In order to display new data the whole widget should be redrawn.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Charles
Top achievements
Rank 1
answered on 14 Aug 2015, 07:50 PM

Thanks for the info.. however I too would like to see the graphs updated without redrawing the whole thing..  In my app I can receive graph updates every second - redrawing the entire chart is a not an option.

(think stock price chart)

 Can we get this added via feature request?  At the moment several other (free) libraries can handle this kind of refreshing. ChartJS is one.  I believe Highcharts can as well.

 

Example of refreshing: http://i.imgur.com/Mm2CuSP.gifv

0
Alexander Popov
Telerik team
answered on 18 Aug 2015, 11:21 AM
Hello Charles,

I would encourage you to submit this as a feature request on our feedback portal. This would allow the idea to be publicly evaluated and voted for.
Meanwhile, you could disable the Chart's transitions, thus making the redrawing process smoother.

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Charles
Top achievements
Rank 1
answered on 18 Aug 2015, 04:22 PM
Thanks - the transitions disabling is pretty much what I wanted.  Eliminating that redraw time was all I wanted.
0
Charles
Top achievements
Rank 1
answered on 10 Sep 2015, 02:56 AM

Quick question again - 

disabling transitions fixed the full redraw issue, however tooltips are not working correctly.

It seems the graph refreshing breaks the tooltip's mouseover or hover

Here is another gif showing the issue: http://i.imgur.com/BE1IkKw.gifv

Is there a way to update the chart without causing the tooltip to flash and break?

0
Charles
Top achievements
Rank 1
answered on 10 Sep 2015, 03:00 AM
Here is a better gif that shows the cursor: http://i.imgur.com/MO4NT9C.gifv
0
Alexander Popov
Telerik team
answered on 11 Sep 2015, 10:48 AM
Hello,

I am afraid there is no good workaround that we can recommend for dealing with this side effect of the widget's refreshing. 

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Sam
Top achievements
Rank 2
answered on 13 Apr 2018, 08:00 AM
Tags
Charts
Asked by
Simon
Top achievements
Rank 2
Answers by
Alexander Popov
Telerik team
Charles
Top achievements
Rank 1
Sam
Top achievements
Rank 2
Share this question
or