ASP.NET Controls RadChart Real time data

Thread is closed for posting
5 posts, 0 answers
  1. Mahesh Immedisetty
    Mahesh Immedisetty avatar
    3 posts
    Member since:
    Jun 2010

    Posted 28 Sep 2010 Link to this post

    Hi,

    I would like to use RadChart in my web application. I would like the radchart to show real time data to the customers over web.

    Could anyone please let me know whether ASP.NET chart control supports live charting or do I need to go for silverlight control??

    Thanks,
    Mahesh
  2. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 30 Sep 2010 Link to this post

    Hello Mahesh Immedisetty,

    Thanks for contacting Telerik Support.
    Indeed RadChart for ASP.NET AJAX can be used to show live data. Take a look at our demo with full source code where RadChart is bound to a live data-feed source.

    Additionally, you can review the following screencast:
    http://tv.telerik.com/watch/silverlight/webinar/radcontrols-silverlight-aspnet
    which elaborates on the option to integrate Silverlight controls in your ASP.net Ajax application as RadChart for Silverlight provides live data too.

    I hope this information helps.

    Sincerely yours,
    Evgenia
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Mahesh Babu Immedisetty
    Mahesh Babu Immedisetty avatar
    13 posts
    Member since:
    Aug 2009

    Posted 01 Oct 2010 Link to this post

    Hi,

    Thanks for your reply.

    Could you please let me know more information on these things:

    1) Is the RadChart gets data from RSS feed in a configurable time? or, is it like one time load??
    2) Where can we set the configurable time to get the data from the feed?
    3) Is the chart updated at the client side or server side? If server side, Do the customers see a flicking image on the browser?

    Please help.

    Thanks,
    Mahesh
  5. Evgenia
    Admin
    Evgenia avatar
    1406 posts

    Posted 06 Oct 2010 Link to this post

    Hi Mahesh,

    1) The RadChart gets data from RSS feed (in already mentioned demo) by one time load.
    2) You can use Telerik's RadAjaxManager to "ajaxify" a regular timer control to get the data on preset time interval. For more information take a look at this demo - http://demos.telerik.com/aspnet-ajax/ajax/examples/common/ajaxifytimer/defaultcs.aspx
    3) The chart is updated at server side. It renders an image and when refreshed on timer tick it needs time to download the new image and replace the old one, so a flicker might occur. Here is how you can workaround this approach:

    RadChart renders a div element with an img element inside it. You can find it like this:
    var div = document.getElementById('<%=RadChart1.ClientID %>');
    var chart = div.children[0];
    You can take advantage of the above structure when implementing caching. For example -- put a second chart in another element in the page with display:none. The timer will update only the hidden image, while the visible will stay intact. Then take advantage of RadAjax's OnResponseEnd client event and replace the visible chart image with the hidden one in the javascript function which is attached to that event.

    I have attached a sample page showing this approach. You can adjust the constant in the setTimeout method according to your environment conditions.

    Hope this information helps.

    All the best,
    Evgenia
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  6. Kalyan
    Kalyan avatar
    2 posts
    Member since:
    Oct 2012

    Posted 22 Oct 2012 Link to this post

    Hi,

     I have a problem of flicking image when showing live data in rad ajax charts but when followed by this below approach it is fine but i want to update chart continuously by timer but not by clicking button.so please provide some solution .


    Thanks,
    kalyan
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017