Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1493
Chart Performance Issue...
posted

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.

Parents
No Data
Reply
  • 30692
    Suggested Answer
    Offline posted

    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

Children