I've created a test app that charts 3 series of real time data. The data comes asynchronously so one series may be updated with a number of points while the other series is not getting any points for a while. In my test app all three series should plot nice sine curves, and this works fine if only one series gets data. But when I add data to all three series I get gaps in the curve and lines connecting the last data point shown to random data points later in the series.
I've attached a screen shot of the source to the sample app.
To recreate the problem I'm seeing enter 25 in the text box (the number of data points to add) , and then randomly click the buttons for a bit, eventually the chart gets out of whack.
Realtime chart not working for multiple series
in Windows Forms
Posted
I've created a test app that charts 3 series of real time
data. The data comes asynchronously so one series may be updated
with a number of points while the other series is not getting any
points for a while. In my test app all three series should
plot nice sine curves, and this works fine if only one series gets
data. But when I add data to all three series I get gaps in the
curve and lines connecting the last data point shown to random data
points later in the series.
I've attached a screen shot of the source to the sample app.
To
recreate the problem I'm seeing enter 25 in the text box (the number of
data points to add) , and then randomly click the buttons for a bit,
eventually the chart gets out of whack.
file:///C:/DOCUME%7E1/RARRELL/LOCALS%7E1/TEMP/moz-screenshot.jpg Russ