SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy

We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

0
0

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

  • You must to post comments
1
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.