HighCharts remove stack totals

highcharts, javascript

Solution

yAxis: {
    min: 0,
    title: {
        text: 'Total fruit consumption'
    },
    stackLabels: {
        enabled: false,
        style: {
            fontWeight: 'bold',
            color: (Highcharts.theme && Highcharts.theme.textColor) || 'gray'
        }
    }
},

you need to turn the stackLabels to false like in the example above

stackLabels: {
            enabled: true,

Problem

I'm creating a stacked bar chart just like this one. Notice that the total of each stack is displayed at the top, how can I disable/hide this?

Original source