Pre loader

Transposing heatmap zValues array

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

Hi,

Is it possible to specify that incoming zValues array matrix is an array of columns, instead of an array of rows?

e.g. if I pass this:

[
[1,2,3],
[4,5,6],
[7,8,9]
]

[1,2,3] is the first column, not the first row.

We want to avoid transposing this data manually before passing it to the heatmap, because our data arrives one column at a time via a websocket subscription, and the data is too large to efficiently re-transpose every time.

I can’t see anything in the docs or the code?

Thanks
Joe

Version
1.0.1334
  • You must to post comments
2
0

Merry Christmas Joe :).

We just released SciChart.js version 1.1.1359 and it has Vertical Heatmap Chart support.
Please check out this example – https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/CustomerExamples/VerticalHeatmapChart

Best regards,
Michael

  • Henrique Rodrigues
    It’s working very nicely! Thanks for the update. Happy new year :-)
  • You must to post comments
0
0

Hi Joe.
Thank you for the question.

Transposed matrices are not supported. However there will be an update with the support for Vertical Heatmap Chart. Vertical charts have XAxis on the Left or Right, and YAxes at the Top or Bottom. This will allow you to use the existing zValues array to achieve the desired result.

We will update the answer once the version with the Vertical Heatmap Chart is released.

Best regards,
Michael

  • Henrique Rodrigues
    Thanks Michael, that sounds good. Do you have a rough timeline for when this will be released?
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.