Pre loader

Legend is not rendered (empty little square) when the chart is.

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 working with Wpf on window.

I have defined a legend modifier with a template.

                        LegendItemTemplate="{DynamicResource TopDownLegendTemplate}"

Always, when the chart is rendered, the legend is not (see legendOff.PNG)

Most times, after some chart updates (e.g by moving a slider that affects the data displayed), the legend comes back on (see legendOn.PNG)

Always, when the legend is rendered, then it will stay rendered.

A similar code is elsewhere in my project and does not give this problem so I can’t say for sure it is a bug. It certainly is an unexpected behavior.

Another piece of useful information is that my template uses a converter in the xaml code. I have put a breakpoint in this converter and verified the code is not being called (hence nothing is trying to render the legend) when the chart is rendered.

Any idea?

  • Andrew Burnett-Thompson
    Hi there, can I ask you to try a few things please? 1.) Update to the latest v3 version (v3.6.1). Does the problem still occur? 2.) Remove your LegendItemTemplate temporarily. Does the problem still occur? 3.) Do you see any binding errors in the Visual Studio output window?
  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.