Pre loader

Legend Grouping

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums


I am using the LegendModifier to bind my RenderableSeries to my legend.

In my legends Datatemplate, I have a checkbox and a colour picker.

I notice the LegendData object is of ChartDataObjectBase type. I would like to group my data in my legend (eg, with a label), rather than just display the list.

Is this possible, similar to the images attached ?

  • You must to post comments

Hi Craig,

Tricky question! You might have to do some major work to achieve this.

1.) Would be to use a CollectionViewSource or otherwise modify the LegendModifier.ChartData collection to be grouped (you will need hierachical data here)

2.) Then to modify the SciChartLegend template itself to display the hierachical data.

In short, we don’t support this or have an example out of the box. We might be able to build it though but would be considered custom work.

How badly do you need it?

Best regards,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.