how to change bar hover color of highchart dynamically?
问题 I set bar hover color using below code: plotOptions: {column: {states: {hover: {color: '#000000'}}}} But how can I change the bar hover color dynamically? 回答1: Defined set of colors, when you load charts every time you will experience a different color of hover effect from the given set var colors= ['#7cb5ec', '#434348', '#90ed7d', '#f7a35c', '#8085e9', '#f15c80', '#e4d354', '#2b908f', '#f45b5b', '#91e8e1']; var x = Math.floor((Math.random() * 10) ); plotOptions: { column: { states: { hover: