1
我想在mouseOver
和mouseOut
事件中動態更改dataLabel
的邊框樣式。如何做到這一點?這裏是我到目前爲止的代碼:以編程方式更改數據標籤與Highcharts的邊框
series: [
{
point: {
events: {
mouseOver: function() {
// TODO: Set border programmatically.
console.log(this);
},
mouseOut: function() {
// TODO: Clear border.
console.log(this);
}
}
}
}]
這裏玩小提琴:http://jsfiddle.net/18j3c2yz/ - 我想通過和出改變鼠標的邊框樣式。