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

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -