Reputation: 561
How do I to enable the markers only for those series which has only a single data point. Here I have disabled it for the whole chart. So then the 3rd series doesn't shows up until mouse over.
plotOptions: {
series: {
marker: {
enabled: false
}
}
}
https://jsfiddle.net/Mithun146/ef6dtjon/2/
Upvotes: 1
Views: 628
Reputation: 5803
You just need to enable the marker for that specific series, like this:
series: [
...,
{
marker: {
enabled: true
},
data: [10]
}
]
Working JSFiddle example: https://jsfiddle.net/ewolden/ak0m8r75/
Upvotes: 1