Hi,
Is there any way to get back the 2D data array from the Heatmap2DArrayDataSeries object?
Full of hope for positive answer,
Mark
- Marek Sienczak asked 9 years ago
- You must login to post comments
Hi Mark,
Thanks for your inquiry. Although there is a way to retrieve the array, which is reserved for internal usage.
If you take a look at the IHeatmap2DArrayDataSeries interface, it exposes the GetArray2D() method which returns a copy of the array. You need to cast Heatmap2DArrayDataSeries to IHeatmap2DArrayDataSeries to call it.
Please be aware that it performs a full copy of the initial array. Also you don’t want to make any changes to it, because this may cause unexpected results. If you need to change something, the only option is to recreate the Heatmap2DArrayDataSeries.
Hope this helps!
Best regards,
Yuriy
- Yuriy Zadereckiy answered 9 years ago
-
.. Another way is to keep a reference to the double[,] array when you create the Heatmap2DArrayDataSeries! :)
-
Thx everyone. I did it by a reference of my own exchange object but I was eager to know whether there is a better solution. And this one by the IHeatmap2DArrayDataSeries interface it is a perfect way because without any additional effort I have access to all the properties I need.
- You must login to post comments
Please login first to submit.