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
175
Is there a way to batch items update to igDataChart?
posted

I am binding a datasource that gets records added frequently, and right now I am calling "notifyInsertItem" every time a new record is added to the datasource, and it seems to be slowing down the application.  I would like to see if I can batch up the updates to the chart for multiple new records at once.  Also, do you have any performance tips on charting a real-time chart with many data points with multiple chart series?  Thanks.

  • 16310
    Offline posted

    Hi Michael,

    Thank you for posting in the Infragistics community !

    I do not see a way how to batch updates, at least this would be too customized solution, which would not be recommended. I also do not think you would need this, since the igDataChart is able to bind thousands od data points and this should not break it in terms of performance. I suggest that you review our real-time update sample at

    http://www.igniteui.com/data-chart/binding-real-time-data

    which demonstrates such scenario benefiting from the notifyInsertItem method. I believe this would be really helpful resourse to look at. Please let me know if you have further questions, I will be glad to help.