Color of individual markers on hover in Highcharts

I managed to set marker colors for individual markers

{ y: 5, marker: { fillColor: '#222' } } 

But for a while it turns into the default color, is it possible to set this value?

I can use the selectionMarkerFill option, but this is a child of the chart option and has no effect when adding a marker in my code.

+4
source share
1 answer

This is not verified as jsFiddle is not responsible for me right now, but I would look at

http://www.highcharts.com/ref/#plotOptions-series-states-hover-marker--fillColor

These are apparently marker variants on hover.

Edit based on janb comment:

  { y: 5, marker: { fillColor: '#222', states: { hover: { fillColor: '#222' } } } } 
+4
source

All Articles