asp.net mvc - kendoChart - Refresh only bars not whole graph -
i implemented kendo chart of telerik , below code after applying updated values.
i smoothly update bar - below link:
http://www.jqueryscript.net/demo/dynamic-animated-jquery-bar-charts-plugin-livegraph/demo/
my existing code refresh graph is:
var chart = $("#divbarchart").data("kendochart"); chart.options.series[0].data = globalseriesvalue chart.refresh();
please guide.
in kendo - chart api exposes setdatasource() method. when want refresh bars nothing providing new data source chart. way chart not redrawn rather points on chart repainted.
here documentation link:http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#methods-setdatasource
i have created demo here: http://dojo.telerik.com/@kashyapa/ekara
Comments
Post a Comment