plotOptions: {
series: {
events: {
afterAnimate: function () {
for (let item of this.chart.legend.allItems) {
item.legendItem.on('mouseover', function (e) {
/**
* Register a callback based on the legend selected
*/
}).on('mouseout', function (e) {
/**
* Degerister a callback
})
}
}
},
I wi sh, чтобы добавить функциональность при наведении указателя мыши на элемент легенды, но приведенное выше удаляет функцию прозрачности по умолчанию. Как я могу легко повторно вызвать?