Pre loader

Array limit for UniformHeatMapDataSeries

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

I am using UniformHeatMapDataSeries to plot a heat map in WPF/C#. However, the data is very large in size and as a result it is throwing OutOfMemoryException while populating the first parameter value of this data series. which is a two dimensional array TZ (generic).

As per definition:

public UniformHeatmapDataSeries(TZ[,] zValues, TX xStart, TX xStep, TY yStart, TY yStep, IPointMetadata[,] metadata = null);

Here I am filling this array with double[,] data.

This error is happening due to TZ double[,] is filled with very big size of data going out of max defined range of double 2D array size. Please suggest if I can replace the values of double[,] with any other data type which allow larger data.

Version
5.1.0.11299
  • You must to post comments
0
0

Hi Anil

I’m afraid this is a hard limit of the .NET Framework and not to do with SciChart WPF.

You can however, add multiple heat maps to a chart. One of our customers did this to achieve this effect.

Look at this video here from 0:00 to 0:07
https://www.youtube.com/watch?v=M8CSdWlceWM&feature=emb_logo

The customer used multiple heat map series and tiled them on the same SciChartSurface to render ‘very large heatmaps’

Let me know if this helps,

Best regards,
Andrew

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.