score:4

Accepted answer

you can disable the inactive effect and use the hover state:

plotoptions: {
    ...,
    column: {
        stacking: 'normal',
        states: {
            inactive: {
                enabled: false
            },
            hover: {
                color: 'blue'
            }
        }
    }
}

live demo: https://jsfiddle.net/blacklabel/lg796ha3/

api reference: https://api.highcharts.com/highcharts/series.column.states.hover.color

score:2

use shared: true in your tooltip

highcharts.chart('container', {
    chart: {
        type: 'column'
    },
    title: {
        text: 'stacked column chart'
    },
    xaxis: {
        categories: ['apples', 'oranges', 'pears', 'grapes', 'bananas']
    },
    yaxis: {
        min: 0,
        title: {
            text: 'total fruit consumption'
        },
        stacklabels: {
            enabled: true,
            style: {
                fontweight: 'bold',
                color: (highcharts.theme && highcharts.theme.textcolor) || 'gray'
            }
        }
    },
    legend: {
        align: 'right',
        x: -30,
        verticalalign: 'top',
        y: 25,
        floating: true,
        backgroundcolor: (highcharts.theme && highcharts.theme.background2) || 'white',
        bordercolor: '#ccc',
        borderwidth: 1,
        shadow: false
    },
    tooltip: {
        headerformat: '<b>{point.x}</b><br/>',
        pointformat: '{series.name}: {point.y}<br/>total: {point.stacktotal}',
        shared: true
    },
    plotoptions: {
        column: {
            stacking: 'normal',
            datalabels: {
                enabled: true,
                color: (highcharts.theme && highcharts.theme.datalabelscolor) || 'white'
            }
        }
    },
    series: [{
        name: 'john',
        data: [5, 3, 4, 7, 2]
    }, {
        name: 'jane',
        data: [2, 2, 3, 2, 1]
    }, {
        name: 'joe',
        data: [3, 4, 4, 2, 5]
    }]
});
<script src="https://code.highcharts.com/highcharts.js"></script>
<script src="https://code.highcharts.com/modules/exporting.js"></script>
<script src="https://code.highcharts.com/modules/export-data.js"></script>

<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>


Related Query

More Query from same tag