Hi guys,
Related with my previous question: how do I add the anottation lines to the chart legend? It seems it only gives me options about the data series, nothing else…
Thanks
- jsimoes asked 11 years ago
- You must login to post comments
Hi Jose,
It isn’t possible to do this natively, however the LegendControl is just an ItemsControl with DataTemplate that binds to a collection of SeriesInfo objects provided by LegendModifier, so should be easy to create a custom legend.
Take a look at the hierarchy of the LegendControl with a visual debugger, e.g. WPF Snoop. Also check out SeriesInfo in the API documentation so you can see the available properties.
Also take a look at this thread which talks about custom legends and includes the ControlTemplate for the LegendControl.
Hope this helps!
Andrew
- Andrew Burnett-Thompson answered 11 years ago
- You must login to post comments
Please login first to submit.