bazzacad
Posts: 20
Joined: Mon Jun 26, 2017 9:00 pm

Can't change padding on yAxis labels when left aligned

How can I increase the padding on these labels when they're left aligned?
2022-03-25 10_57_44-Custom data labels with symbols - JSFiddle - Code Playground.png
2022-03-25 10_57_44-Custom data labels with symbols - JSFiddle - Code Playground.png (11.11 KiB) Viewed 491 times
Demo:
https://jsfiddle.net/bazzacad/524xwtg3/2/
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: Can't change padding on yAxis labels when left aligned

Hi bazzacad,

Thanks for contacting us with your question.

You should use transform property to move labels:
https://jsfiddle.net/BlackLabel/fyo16v8q/

Let me know if it was what you were looking for.
Regards!
Mateusz Bernacik
Highcharts Developer

Return to “Highcharts Gantt”