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

Progressive update of bar chart data

1 Answer 39 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Hamilton
Top achievements
Rank 1
Hamilton asked on 07 Nov 2012, 06:16 AM
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)?

Thanks,

Tony

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 08 Nov 2012, 09:06 AM
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.

Tags
Chart
Asked by
Hamilton
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or