SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components
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.
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
Please login first to submit.