0
votes

Using the states.hover property on a bar chart, there does not seem to be a direct way to change the color of the hovered bar.

Reference:

Is there a work around for this?

Seems very odd to be able to update the "brightness", but not just be able to directly specify a hover state fill color...

{{EDIT

Ok, so, the hover.color works if no color is explicitly set on the bar, but does not if the color is set at the point level (ie '{y:8, color:'#00ff00'}').

Example:

I have a chart where I need to set some colors explicitly on the point level, but still want to override the color on hover.

Any ideas?

1
Take a look at this fiddle provided by the API as an example: jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/…Adjit
that lists the halo option...?jlbriggs
@jlbriggs you fiddle works fine.giannisf
hover over the top, green, bar...jlbriggs

1 Answers

2
votes

there is color property.

 states: {
          hover: {
                 brightness: 0.2,
                 color: '#ffccee'
                    }
}