Change the color of markers in line series in WPF?

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

oriches wrote at 2014-05-08 17:33:

Is it possible to change the color of individual markers in a line series in WPF?

objo wrote at 2014-05-08 18:36:

No, all markers have the same color for a LineSeries. But it should be possible to use a ScatterSeries to draw the markers with different colors!

oriches wrote at 2014-05-08 18:57:

sorry, but how?

oriches wrote at 2014-05-08 19:30:

I've worked it out, because the number of markers I want are few (less than 10 out of 2000) I can do this by having multiple scatter series.

objo wrote at 2014-05-10 23:19:

There is a property ScatterPoint.Value that can be used to define the color of the points in a ScatterSeries. Also remember to set the ScatterSeries.ColorAxis.