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?
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.
Thanks, It works just for me. When I want to Change the Color of the signed line, it is always the same. What is the right property to set and how can i Show the line filled downwards (don't know how to describe it - like in your sample the area under the line is filled)
Best regards Schnapper
Thanks for your Support. It matches my questions perfectly.
Hi Schnapper,
Thank you for the reply.
If you want to change the color of the line, you have to set the Brush property of the series to a brush with the appropriate color. If I am understanding you correctly for your “line filled downwards” requirement, you should use Area series instead of Line series and the area bellow the Y value will be filled.
I have modified my sample in order to demonstrate this approach.
Please let me know if that is what you are looking for.