# 1D array as input to Heatmap data series

### Welcome to the SciChart Forums!

• 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
0
0

Hi,
My requirement is to plot only half of uniform Heat map (1st triangle) chart as shown in attached image. So, is it possible to plot only 1st triangle just by passing input data as 1D array to UniformHeatmapDataSeries? . Does Scichart currently supports this feature?

Thanks
Deepak

Version
5.4
Images
• Here X and Y Ranges are same(n*n plot)
• You must to post comments
0
0

Hi Deepak,

Heatmap charts in scichart only support 2D arrays, however could you not fill the 2D array with values (where some are transparent or null) to get the same effect?

Why do you want to do this? If I can understand more the requirement maybe I might have a suggestion

Best regards
Andrew

• Hi Andrew, I can fill the 2 D array with values (actual 1 D array data to plot) and rest with null values. But this costs performance as the array size increases. Actually this requirement is to plot Bi Variate analysis chart where x range and y range values (n*n) are same. so both halves of chart are same ( because co relation b/w x&y = y&x) and hence we need to plot only one half of chart . So the output of bi variate analysis is only half data ((n*n) / 2) and its in 1 D array format and it should be plotted in one half of heat map chart. Thanks Deepak
• You must to post comments
0
0

Hi Andrew, I can fill the 2 D array with values (actual 1 D array data to plot) and rest with null values. But this costs performance as the array size increases. Actually this requirement is to plot Bi Variate analysis chart where x range and y range values (nn) are same. so both halves of chart are same ( because co relation b/w x&y = y&x) and hence we need to plot only one half of chart . So the output of bi variate analysis is only half data ((nn) / 2) and its in 1 D array format and it should be plotted in one half of heat map chart. Thanks Deepak

• It sounds like a custom requirement (not a standard feature in SciChart), but anything is possible. If the existing features in SciChart are not a good fit for your requirement would you be interested in customisation & consultancy? We can offer a service where we build custom features for an hourly rate. Best regards, Andrew
• You must to post comments
Showing 2 results