One legend item for each group of LineSeries instances?

Oystein Bjorke 10 aastat tagasi 0
This discussion was imported from CodePlex

dcuccia wrote at 2014-03-25 22:05:

Hi I have a single plot with multiple LineSeries, and I want to programmatically add a single legend item for a group of LineSeries instances (e.g. five green lines called "first", seven blue lines called "second"...etc). Is there a straightforward way to do this? Thanks!!

objo wrote at 2014-03-25 22:13:

did you try setting the Title for only the first green LineSeries and the first blue LineSeries?

dcuccia wrote at 2014-03-25 23:15:

objo wrote:
did you try setting the Title for only the first green LineSeries and the first blue LineSeries?
That's a swell idea - not sure why I didn't try that, just assumed it would be hard. Your framework is just too easy to use. ;) Works perfectly, thanks objo!