Pre loader

Mountain Series with PalleteProvider bad performance when chart is hidden

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

Hi!

I have chart with mountain series with a palette provider.
It performs extremely well with 50k points.

However, I noticed that when I drag the chart away, to a point where the series is not visible, the performance sinks and the chart is extremely laggy.

I have uploaded my code to codepen: https://codepen.io/robrob123/pen/KKJjyvp

I checked the performance using the chrome performance profiler and I found that a function called applyStrokeFillPalletting is called repeatedly many times and each time it takes way too long to execute, considering there is no series to draw.

I have attached a screenshot showing the performance profiling.

Thank you!

Version
3.2.532
Images
  • You must to post comments
Best Answer
0
0

Thanks for this report. I’ve confirmed there is an issue with how the indexes of points to be drawn/paletted is calculated when the whole series is off screen.

We will hopefully get this fixed quickly and let you know when an update is ready.

Regards
David

  • You must to post comments
0
0

Great!

Could you estimate how much time this could take to fix? days or weeks?

Thanks!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.