kmartynak
Posts: 69
Joined: Tue Dec 14, 2021 9:31 pm

no spacing between columns in pdf!

on the website my chart looks fine, i also need to export this one for pdf. unfortunately it doesn't look good... I don't understand why there are no spaces between the columns (but only in pdf!) how can I fix it? unfortunately I don't see any class, thanks to which I could add padding or something... also I don't know if I can write a script only for pdf? Thank you for your help!



https://jsfiddle.net/kmartynak/axg875jn/1/
Attachments
Bildschirmfoto 2022-12-07 um 09.21.27.png
Bildschirmfoto 2022-12-07 um 09.21.27.png (8.78 KiB) Viewed 147 times
kamil.k
Posts: 458
Joined: Thu Oct 06, 2022 12:49 pm

Re: no spacing between columns in pdf!

Hello kmartynak,

Thanks for contacting us again.

There is a special export module in Highcharts, take a look: https://www.highcharts.com/docs/export- ... e-overview
I'm not entirely sure if you're using it but it is disabled in your demo by exporting.enabled property. I have updated your demo by importing this module and as you can see, the PDF export works fine, see: https://jsfiddle.net/BlackLabel/3t5zy14a/

If this module is not suitable for your case, it will be much helpful to know how you handle PDF exporting in your case. Please note that we support problems related directly to the Highcharts library so if you e.g. use some external export library, there is a possibility I won't be able to help as it's not officially supported.

Looking forward to your response,
Kind Regards!
Kamil Kubik
Highcharts Developer

Return to “Highcharts Usage”