Right now you have that code at the top level of your config object, where it doesn't work. The series
object is an array of the chart series, so even if setting the option worked in that manner, it would be overwritten by your actual series
object.
It needs to either be set on the individual series level, as Stephen answered, or more globally, under the plotOptions
.
By applying it to the individual series, you will need to repeat the code for every series you have.
By putting it in the plotOptions
, with the series
designation, you only need to specify it once, no matter how many series you have.
plotOptions: {
series: {
states: {
hover: {
enabled: false
}
}
}
}
Or, if you wanted it to apply to only certain series types, you could add it to only the series type you want it to apply to:
plotOptions: {
columnrange: {
states: {
hover: {
enabled: false
}
}
}
}
Updated fiddle: