Hi EveryOne,
I am using XamChart of infragistics 2009 vol 2. I am facing a problem in updating chart values at runtime . I am currently using BindingList and ObservableCollection to bind my chart with data. And these Data collections get updated data from wcf callbacks. But its quite slow in terms of updating graph. If i get a call back and update my collection its taking quite long time to update my Graph. is there anybody encountered with the same problem then please suggest the solution.
Thanks.
Are you updating the data in bulk? If you are making many data changes at once you should try setting the RefreshEnabled property to false before the updates and then back to true after the updates are completed. The default behavior for the chart is to try to immediately reconcile all the changes you are asking with its internal structures such that the layout could be immediately affected if you were just making a single change. If you are making a batch of changes its best to inform the chart that it shouldn't try to refresh its content until you have finished your batch of updates.
That help?
-Graham
Can the Chart bind to another data structure instead of ObserverableCollection?
Inserting and deleting from ObserverableCollection is very exepensive.