Chart Blinks on Ajax Refresh

Thread is closed for posting
2 posts, 0 answers
  1. Brian Azzi
    Brian Azzi avatar
    65 posts
    Member since:
    Mar 2010

    Posted 17 Jun 2010 Link to this post


    I have a RadChart that I am rendering on page load. At regular intervals (5-10 seconds for example), I want to "refresh" the data contents of the chart. I am currently using a RadAjaxManager instance, and am using ajaxManager.ajaxRequest to initiate the callback request.

    This works fine, but has one very visual drawback... the chart basically "blinks" during every refresh. (I can add a loading panel, but this in and of itself doesn't work very well for items that are constantly being refreshed at regular intervals).

    Does anyone know of a way to prevent this? (The grid control for example does not "flash" or "blink" upon a rad ajax postback). Is there a way to "trick it by having two charts and only making the refreshed one visible after the callback is finished / basically swapping them in and out (pretty hacky, I know, but I have a lot of time invested in making this chart work!!!). 

    Thanks in advance!
  2. Ves
    Ves avatar
    2926 posts

    Posted 22 Jun 2010 Link to this post

    Hi Brian,

    Please, find attached a small example, showing how to switch images. You can change the timeout constant as per your environment.

    Kind regards,
    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
Back to Top