username000
Posts: 13
Joined: Tue Mar 01, 2022 4:26 pm

customize yAxis height

hey guys,

im trying to customize the cellHeight of the yAxis because the default height for each graph(bar) is too wide (not targetting the bar padding, only cell height).

xAxis > grid > cellHeight property for the xAxis works fine but the cellHeight property for the yAxis isnt.

How can i customize the yAxis cellHeight? i gave a false value for the visible property since ill only be showing the bar graph and not the yAxis items(categories?).

below is my code:

yAxis: [
{
visible: false,
grid: {
cellHeight: 30,
},
},
],

thanks!
mateusz.b
Posts: 2006
Joined: Tue Jul 13, 2021 11:34 am

Re: customize yAxis height

Hi username000,

Thanks for contacting us with your question.

Please take a look at this topic:
viewtopic.php?f=19&t=48282
You can learn there about available methods to increase row height.

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

Return to “Highcharts Gantt”