In highcharts stacked column, if I click one column how could I highlight the whole of the clicked column instead of only one block of the column?
I can highlight only one block of selected column but cannot highlight the whole column. Just like this(to black the whole not only one block):Stacked column highlight
xAxis: {
categories: ['One', 'Two', 'Three', 'Four', 'Five']
},
plotOptions: {
column: {
stacking: 'normal'
},series: {
cursor: 'pointer',
point: {
events: {
click: function(e) {
this.update({ color: 'black' }, true, false)
}
}
}
}
},
series: [
// first stack
{
data: [29.9, 71.5, 106.4, 129.2, 144.0],
stack: 0
}, {
data: [30, 176.0, 135.6, 148.5, 216.4],
stack: 0},
// second stack
{
data: [106.4, 129.2, 144.0, 29.9, 71.5],
stack: 1
}, {
data: [148.5, 216.4, 30, 176.0, 135.6],
stack: 1
}]