psr
Posts: 1
Joined: Wed Apr 29, 2020 8:47 pm

Column chart data not showing

Hello all,

I'm trying to add data to a chart, series by series. However, the columns are not centralized, and the initial and final columns are outside the charting area: https://jsfiddle.net/1fhu4gds/3/

If I try to add the data at once, it works: https://jsfiddle.net/ontcqm8j/4/

Does anyone know how I can do it by adding series by series?

Kind regards
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: Column chart data not showing

Hi psr!
Welcome to our forum and thanks for contacting us with your question!

Well, it looks like a bug. I have created a GitHub ticket for that, you can find it below.

GitHub Ticket: https://github.com/highcharts/highcharts/issues/17791

As a workaround for now, I suggest setting proper minPadding and maxPadding values. It will avoid the problem of calculating extremes for your chart.

Demo: https://jsfiddle.net/BlackLabel/wxpvk4mn/

Let me know if you have any further questions.
Regards!
Hubert Kozik
Highcharts Developer

Return to “Highcharts Usage”