Pre loader

Question on DebugWhySciChartDoesntRender flag

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

At the moment we are using SciChart v2.1.1 and we has been trying to upgrade to the latest release v2.2.3123. After upgrading we get heaps of debug entries on output window. We get below output entry quit frequently when we try to do any action on the chart. We don’t get below message on v2.1 for exactly the same source code.

SciChartSurface didn’t render, Because none of the SciChartSurface.RenderableSeries has a DataSeries assigned.

In our chart control there are several renderable series and users can and hide them as they want. Everything works fine, but output window flooded with these text messages. And as a result(I think), some charts are not performing fast as they were before.

Below are some more output messages we get and so far couldn’t find a way to get rid of them. Unfortunately below page doesn’t provide much informations on exactly when SciChart write these output messages.
http://http://www.scichart.com/documentation/MyChartIsBlankWhyDoesntSciChartRender.html

SciChartSurface didn’t render, Because the SciChartSurface Viewport Size is not valid (e.g. 0 sized).

SciChartSurface didn’t render, Because the SciChartSurface.RenderSurface is null. Please ensure either the default RenderSurface is set, or a custom one has been assigned to SciChartSurface.RenderSurface.

My questions are;
Is it a bad thing if we get these messages?
Is that an indication of bad implementation or potential error?

There are no functional issues in our application and everything works very well.

Thanks!

  • You must to post comments
0
0

Hi Charithj,

These messages seem to be connected to SciChartSurface initialization and late binding. It is OK while your application is working and you don’t see a blank chart. You can turn this option off by setting sciChartSurface.DebugWhySciChartDoesntRender = “False” (it seems to be a default value though).

Best regards,
– SciChart Team

  • Charith Jayasundara
    Apparently, sciChartSurface.DebugWhySciChartDoesntRender default value is True, not False.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.