score:4

Accepted answer

You should be catching the point.event instead of the chart.event to get the point's xAxis category:

  plotOptions: {
    series: {
      stacking: 'normal',
      dataLabels: {
        enabled: true,
        align: 'left',
        color: '#FFFFFF',
        x: 0
      },
      point: {
        events: {
          click: function(te) {
            console.log(this.category);
            console.log(this.x);
          }
        }
      }
    },
    bar: {}
  },

Note the change to console.log(this.category) to show the xAxis name.


Related Query

More Query from same tag