nasan_ns
Posts: 2
Joined: Fri Jun 02, 2023 7:11 am

stackLabels missing on top when data is max value

I'm working on column chart and I set stackLabels on top of column,
But when data is reach max value stackLabels is missing, How do I fix this?
example https://jsfiddle.net/40rzosqx/1/

thanks.
jakub.j
Posts: 1091
Joined: Tue Jan 24, 2023 11:14 am

Re: stackLabels missing on top when data is max value

Thanks for contacting us with your question!

As far as I can see, when the data reaches max (which is 100) the label is still visible. It is hidden when the value is more than max e.g. 101. If you want to be sure that the label is visible, you can set visibility: visible on ".highcharts-label" class in css, but keep in mind, that it can cause problems such as showing the labels with values more than max value (101 and more) and they can be mispositioned.

Demo: https://jsfiddle.net/BlackLabel/0msno2zp/

I hope you will find it useful
Best regards!
Jakub

Return to “Highcharts Usage”