
Ole Jørgen
Top achievements
Rank 1
Ole Jørgen
asked on 12 Mar 2013, 09:46 AM
I am testing similar to the demo: http://demos.kendoui.com/dataviz/bar-charts/remote-data.html
How can I update the remote data (without refreshing the chart altogether). I want to get updated data from the server and have the bars change their values accordingly.
How can I update the remote data (without refreshing the chart altogether). I want to get updated data from the server and have the bars change their values accordingly.
7 Answers, 1 is accepted
0
Hi Ole,
By design, when Kendo UI Chart is bound to a dataSource (like in most of the online demos) and such dataSource is changed the Chart widget will automatically refresh. For your convenience I prepared a simple jsBin example which demonstrates this in action.
Regards,
Iliana Nikolova
the Telerik team
By design, when Kendo UI Chart is bound to a dataSource (like in most of the online demos) and such dataSource is changed the Chart widget will automatically refresh. For your convenience I prepared a simple jsBin example which demonstrates this in action.
Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Ole Jørgen
Top achievements
Rank 1
answered on 12 Mar 2013, 02:45 PM
I have modified your example to show what I want:
http://jsbin.com/epafeb/74/edit
I would like the animation to be from current value to new value instead of always animating from 0. Is that possible?
http://jsbin.com/epafeb/74/edit
I would like the animation to be from current value to new value instead of always animating from 0. Is that possible?
0
Hi Ole,
I am afraid what you would like to achieve is not supported in Kendo UI Chart and there is not suitable workaround I can suggest. Please accept my apologies for the inconvenience caused.
Regards,
Iliana Nikolova
the Telerik team
I am afraid what you would like to achieve is not supported in Kendo UI Chart and there is not suitable workaround I can suggest. Please accept my apologies for the inconvenience caused.
Regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Robert
Top achievements
Rank 1
answered on 30 Mar 2013, 04:02 AM
So, with a local DataSource, how would I go about providing a completely new set of data once the DataSource has been activated and the Chart rendered? Do you reset the variable with a new datasource instance again, or set someDataSource.data(newData);?
0
Hello Robert,
In order to achieve this you can use the DataSource's data() method. For your convenience I updated the jsBin example from my first post to illustrate this approach in action.
Kind regards,
Iliana Nikolova
the Telerik team
In order to achieve this you can use the DataSource's data() method. For your convenience I updated the jsBin example from my first post to illustrate this approach in action.
Kind regards,
Iliana Nikolova
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0

Shailendra
Top achievements
Rank 1
answered on 12 Feb 2014, 09:07 PM
Just wanted to share, after two hours struggle with Kendo MVC wrapper chart to refresh on a button press, with you sample js (read method) i got it working. Thanks a lot.
0

Sam
Top achievements
Rank 2
answered on 13 Apr 2018, 07:55 AM
http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback/suggestions/9655854-animation-when-changing-values