Legends with check boxes

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

jfraschilla wrote at 2014-01-20 16:54:

I would like to create a ChartController for a plot with multiple series. The ChartController would contain items similar to a legend but with a checkbox next to each series. The checkbox would allow the user to toggle the visibility of the series. How should I implement this? How can I display a short segment of the line in a listbox?

objo wrote at 2014-01-27 19:33:

(I edited the title to make it easier to search in the discussion threads)

Check boxes and list boxes are not supported by the OxyPlot core - you need to define these in an overlay.
This should be included in the examples, I have created an issue:
https://oxyplot.codeplex.com/workitem/10122
CodePlex