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

[Solved] Custom JQuery DataBind

1 Answer 42 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Roberto
Top achievements
Rank 1
Roberto asked on 23 Apr 2012, 03:23 PM
Hi,

 I have a jquery $.ajax(...) that retrieve a list of object from server. Is it possible to bind the list retrieved to a chart already rendered?

Thanks.

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 24 Apr 2012, 03:12 PM
Hi,

Updating the data of an already rendered chart is possible, but for the moment its quite limited.

That said, it's relatively straight-forward if you only replace the data points of existing series.

This is what the High performance demo does (simplified code):
var chart = $("#chart").data("tChart"),
    options = chart.options;
    
options.series[0].data = [...];
chart.refresh();


We will be able to provide specific advice if you share more details about your scenario.

All the best,
Tsvetomir Tsonev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now.
Tags
Chart
Asked by
Roberto
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or