Update scatter points in scottplot 5 ? #3573
Replies: 3 comments
-
The Xs and the Ys properties of the ScatterSourceDoubleArray are private. But you can implement your own IScatterSource with public properties and use this. Together with a derived Scatter class which uses your "IUpdatableScatterSource" (which inherits from IScatterSource). |
Beta Was this translation helpful? Give feedback.
0 replies
-
I would like to know too |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you have an array: double[] xs = /* your values */;
double[] ys = /* your values */; you can plot it: formsPlot1.Plot.Add.Scatter(xs, ys); then you can update the values in the array any time: xs[13] = 42;
ys[27] = 54;
formsPlot1.Refresh(); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I did not found any method on scottplot 5 that permit me to add or update the list of points of my scatter. Did it get removed ?
Beta Was this translation helpful? Give feedback.
All reactions