Mahesh Mohan
Posts: 10
Joined: Wed Apr 27, 2022 4:06 am

AlternateGridColor not reflecting in the last row of y axis

screenshot_forum.png
screenshot_forum.png (33.11 KiB) Viewed 739 times
I have given background color for chart as
chart:{
width:1350,
backgroundColor: '#2D354D',
}
And alternateGridcolor as
yAxis: {
alternateGridColor:"#4B5265",
}

It's working, but the last row of the chart only showing the background color instead of alternateGridColor, as attached image.
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: AlternateGridColor not reflecting in the last row of y axis

HI Mahesh Mohan,
Welcome to our forum and thanks for contacting us with your question!

It is hard to tell you what is not working without taking look at your full code. I was trying to reproduce your problem with the code which you pasted, but in my case, everything is working correctly. You can see the demo below.

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

Could you try to reproduce that issue in a form of a live demo? You can start here: https://jsfiddle.net/BlackLabel/b61k5yfp/

Best regards!
Hubert Kozik
Highcharts Developer
Mahesh Mohan
Posts: 10
Joined: Wed Apr 27, 2022 4:06 am

Re: AlternateGridColor not reflecting in the last row of y axis

Hi Hubert k,

First of all thank you for reverting me quickly, When I checked through your code I found that, I have put the property polar as true , which created this issue. Anyway Thank you for helping me out.


Best Regards
hubert.k
Posts: 1164
Joined: Mon Apr 11, 2022 11:48 am

Re: AlternateGridColor not reflecting in the last row of y axis

That's great to hear! In case of any further questions, feel free to contact us again.
Hubert Kozik
Highcharts Developer

Return to “Highcharts Gantt”