Multi - color line series

Oystein Bjorke 10 jaar geleden 0
This discussion was imported from CodePlex

amity2001 wrote at 2012-10-23 09:01:

Hello world,

Like Two - color line series, is it possible to have multicolor line series?

Thanks in advance.


cwevers wrote at 2013-10-15 12:32:

Hi Amity,

I've also been looking for this feature. I created an issue for it:
https://oxyplot.codeplex.com/workitem/10088

everytimer wrote at 2013-10-15 13:11:

I've achieved that by plotting several TwoColorLineSeries partially invisible (for example for green blue and red: the first LineSeries - Green and transparent, the second - blue and the third - transparent and red). Good luck.

cwevers wrote at 2013-10-15 14:28:

That might be a good workaround when having 2 or 3 categories/colors but when you have more or a variable number of colors it's a real pain in the ass.

objo wrote at 2013-10-15 15:00:

I recommend creating a custom series here. See the implementation of the two-color line series. Try to group all line segments sharing the same colour!