Progressive update of bar chart data

2 posts, 0 answers
  1. Hamilton
    Hamilton avatar
    10 posts
    Member since:
    Jun 2011

    Posted 07 Nov 2012 Link to this post

    Hi there,

    I'm wanting to progressively update the data of my bar chart.

    What I'm finding is that when I update an existing value (e.g. 10), the chart will first clear the existing value and then draw the new value (e.g. 15) causing a flicker effect.

    Is there any way to make the chart update the existing value such that the bar simply increases in height (from 10 to 15)?


  2. Petar Marchev
    Petar Marchev avatar
    1029 posts

    Posted 08 Nov 2012 Link to this post

    Hi Hamilton,

    I have created a simple bar chart populated by observable items. I added a button to the app, so that when I click the button - an item increases its value. I do not get any flickering and the bar changes its size accordingly. I have attached this app for your reference.

    If you keep experiencing issues with the RadChart, you can open a support ticket and attach a small project that we can run that reproduces this behavior so that we can try to find a way to avoid this flicker. For now I can only suggest you make sure the underlying items implement the INotifyPropertyChanged interface and that the collection they reside in implement the INotifyCollectionChaged interface. 

    All the best,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top