score:0

if hiding x data, then look at this https://jsfiddle.net/anrilafosel/3g4z5kc3/

chart.xaxis[0].setcategories(newcategories);
for (i = 0; i < chart.series.length; i++) {
  var newdata = [];
  for (j = 0; j < toggler_hc13.length; j++)
    if (toggler_hc13[j] === 1)
      newdata.push(series_hc13[i].data[j]);
  chart.series[i].setdata(newdata);
}

score:6

the above popular answer hides the labels only, this left tick marks for me which i also wished to remove.

in that case this works well

    xaxis: {
            visible: false
        },

this is a simple solution to remove everything on the x/y axis for anyone interested. for more information please look here https://api.highcharts.com/highcharts/xaxis.visible

score:22

to hide labels on x-axis set the option labels: {enabled:false} like this:

    .....
    ........
    ,
                    xaxis: {
                        categories: [''],
                        title: {
                            text: null
                        },
                        labels: {
                         enabled:false,//default is true
                         y : 20, rotation: -45, align: 'right' }

                    }


.....
....

to hide labels on y-axis set the option labels: {enabled:false} like this:

.....
.......
,
                yaxis: {
                    min: 0,
                    gridlinewidth: 0,
                    title: {
                        text: '',
                        align: 'high'
                    },
                    labels:{
                        enabled:false//default is true
                    }
                },
.........
......

refer the documentation for futher understanding.

score:91

in highcharts, bar graphs use inverted axes, so the bottom axis is really the y axis. (see also "column" graphs where the graphic is rotated 90 degrees, in which case the bottom axis is the x axis.)

you need to add the following to the yaxis config

yaxis: {
  labels: {
    enabled: false
  }
}

see the following for full example: http://jsfiddle.net/k5ybj/433/


Related Query

More Query from same tag