Hi,
The xAxis doesn't have labels.events in object and that would give a problem with hiding when you click legend.
I think you should write a function inside chart.events.redraw and get to the label object.
https://api.highcharts.com/highcharts/c ... nts.redraw
Live demo:
https://jsfiddle.net/BlackLabel/46pwb9ac/
Let me know how are you doing with this.
Regards.