I've seen a couple postings here with people trying to get nice dynamic chart updates:
http://www.telerik.com/community/forums/aspnet-ajax/chart/real-time-and-auto-refresh-chart.aspx
http://www.telerik.com/community/forums/aspnet-ajax/chart/chart-blinks-on-ajax-refresh.aspx
I'm wondering if anyone has tried to dynamically update a RadChart entirely with Javascript on the client, without polling to the server. This would involve doing something like this:
function addPoint(data) {
var chart = $find("<%=RadChart1.ClientID%>");
chart.get_series(1).add(data);
}
A server-side push mechanism can then be used, where the client callback executes that function. To make the chart appear to move through realtime the function can remove the first item in the series before adding the new data to the back-end.
I think the answer to this is might be that all of the rendering for RadChart is done on the server, with an image rendered to the client. If that's the case - uhhhh, never mind. :) Seriously, maybe there is a way to manage this...?
Thanks!
http://www.telerik.com/community/forums/aspnet-ajax/chart/real-time-and-auto-refresh-chart.aspx
http://www.telerik.com/community/forums/aspnet-ajax/chart/chart-blinks-on-ajax-refresh.aspx
I'm wondering if anyone has tried to dynamically update a RadChart entirely with Javascript on the client, without polling to the server. This would involve doing something like this:
function addPoint(data) {
var chart = $find("<%=RadChart1.ClientID%>");
chart.get_series(1).add(data);
}
A server-side push mechanism can then be used, where the client callback executes that function. To make the chart appear to move through realtime the function can remove the first item in the series before adding the new data to the back-end.
I think the answer to this is might be that all of the rendering for RadChart is done on the server, with an image rendered to the client. If that's the case - uhhhh, never mind. :) Seriously, maybe there is a way to manage this...?
Thanks!