Yama
Posts: 1
Joined: Wed Jun 29, 2022 12:26 pm

Remove padding between bar chart and border

Hi there,

I'm using `chart.plotBorderWidth` to display a border around my bar chart as you can see below :
Capture d’écran 2022-06-29 à 14.28.08.png
Capture d’écran 2022-06-29 à 14.28.08.png (14.98 KiB) Viewed 135 times
The thing is I don't understand why there is padding top and bottom between the chart and its border. How can I remove it and have the border stick to the chart?

Thanks a lot,
kamil.m
Posts: 892
Joined: Thu May 19, 2022 1:33 pm

Re: Remove padding between bar chart and border

Hello,

Welcome to our forum and thank you for contacting us with your question!

We already have discussed a very similar topic on our forum, so please take a look at the link below. I think you will find a solution to your issue there.
Topic: viewtopic.php?f=9&t=48883

In case of any other questions related to Highcharts functionality, feel free to contact us anytime!
Have a good day
Kamil Musiałowski
Highcharts Developer

Return to “Highcharts Usage”