silestis
Posts: 32
Joined: Thu Mar 15, 2018 10:25 am

[Heatmap] First or last series is not displayed if it has no data

Hi all,

I could not find a way, how to display empty rows (all values equal to "null") in the heatmap. They are automatically removed if they are first or last series of the heatmap.

Example:
You can see, that in the heatmap the second series (row) is all empty (all values equal to "null"). But it is not omitted since it is not the first or last series of the heatmap.

Image

But now, I will remove the first series (PD...380)

Image

You can see, that the heatmap removes not only the first line (PD...380), but also the second one (which became the first), because it was empty (all values equal to "null").

How to prevent such a behavior.

Thanks,
David
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: [Heatmap] First or last series is not displayed if it has no data

Hello David,

Thanks for contacting us with your question!

I was trying to reproduce your problem, but in my case everything is working correctly (https://jsfiddle.net/BlackLabel/3qdgks7z/)
Could you reproduce the issue in an online editor that I could work on?

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/
silestis
Posts: 32
Joined: Thu Mar 15, 2018 10:25 am

Re: [Heatmap] First or last series is not displayed if it has no data

Hmm, it's interesting that in your example the behaviour is OK. We use Highcharts API methods like addSeries() to add series etc., so maybe that is the problem. I will try to create an example with our issue.
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: [Heatmap] First or last series is not displayed if it has no data

Hi

Ok, so I'm waiting for a demo :)

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Usage”