Search code examples
highchartshighcharts-gantt

Highchart Gantt remove Y Axis label


I am looking to hide Y Axis label for Highchart Gantt.

In my fiddle that I attempted you will note that I am looking to completely remove Y Axis lable but my attempt creates empty column.Remove Y Axis column from gantt chart

  yAxis: [{
        labels: {
        enabled: false
    },
  }]

Wasn't able to location anything in Highcharts Documentation as well


Solution

  • Use the visible property:

        yAxis: [{
            visible: false
        }]
    

    Live demo: http://jsfiddle.net/BlackLabel/L1gt67zp/

    API Reference: https://api.highcharts.com/gantt/yAxis.visible