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
875
How to set points?
posted

Hi, i have a DataChart (14.2 WinForms), two axes (X/Y) and want to set Points dynamically. The given Sample on your Webpage seems to be for an older Version.

I want to Show a Series of Ping-Values, throwing by another Thread in my Project. Is there a simple way?

Parents
  • 23930
    Offline posted

    Hi,

    Thank you for contacting Infragistics Developer Support.

    What you could do in order to add additional data points from another thread is to update the points in your data source. Keep in mind that as the WinForms controls are not thread safe, you will need to do the updates on your data source from the UIThread using the Invoke method of the data chart.

    I have attached a sample demonstrating this suggestion.

    Please let me know if you have any additional questions.

    WDC_UpdateFromAnotherThread.zip
Reply Children