SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components



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.

  • You must to post comments
Best Answer

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,

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.