Pre loader

Setting Major/Minor Delta on Heatmap when having mappings throws OutOfMemoryException

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
0
0

Hello,

I have a heatmap that I pass two mapping functions to the Heatmap2DArrayDataSeries (one for x indices and one for y indices).

That is working great.

The user can set the amount of intervals they want to see (as major gridlines). So what I want is to manually control the MajorDelta and MinorDelta, and also set the AutoTicks=false.

When I do this, it renders all the frame for the SciChart Surface, but it seems that it starts making calculations and never draws the heatmap not the gridlines, and finally it throws an OutOfMemory exception.

My data set is not that large: 60×112

What alternative do I have for controlling the amount of intervals shown?

Thank you.
Sebastian

  • You must to post comments
Best Answer
0
0

I suspect that your choice of MajorDelta / MinorDelta is resulting in millions of tick/grid lines to be generated and hence WPF is throwing an OutOfMemoryException drawing the lines or the labels.

Can you please share the setting of MajorDelta, MinorDelta?

Also please share what is the XAxis.VisibleRange and YAxis.VisibleRange in the case where you do not apply Major/Minor delta?

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