Pre loader

Series name not showing in Legend modifier

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

Answered
1
0

Hello,

I’m trying to include a legend modifier for a collection of LineRenderableSeriesViewModel, everything works fine except I’m not able to set the series Name to show in the legend, because this view Model doesn’t have a Name property to set so all I get is the series markers (and visibility checkboxes but don’t really need those), does someone know how to show these names?

I tried extending said ViewModel with a custom one adding a Name property but didn’t work.

Thanks a lot,

Marco

Version
8.0.0.27737
  • You must to post comments
Best Answer
1
0

Hi Marko

The LegendModifier takes the series name from DataSeries.SeriesName

Does that help?

Best regards
Andrew

  • You must to post comments
1
0

Hi Andrew,

yes I did that way, my bad i didn’t realize the name came from the dataseries rather than the RenderableSerie, thanks a lot for the answer!

Best regards,

Marco

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.