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

0
0

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 ?

Version
5.1.0.11457
  • You must to post comments
0
0

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,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies