Hi!
I'm trying to change the color of the series when I hover over it. How do I do that? Thanks!
Code: Select all
var options = {
chart: {
type: 'line'
},
xAxis: {
categories: ['Jan', 'Feb']
},
series: [{
data: [{
y: 29.9,
marker: {
states: {
hover: {
fillColor: 'red'
}
},
}
}, {
y: 71.5,
marker: {
states: {
hover: {
fillColor: 'green'
}
},
}
}]
}]
}
var chart = Highcharts.chart('container', options);