答案 0 :(得分:1)
您可以使用Axis.addPlotBand()
上的mouseOver
功能创建情节带,并使用mouseOut
将其移至Axis.removePlotBand()
。要应用渐变,请使用linearGradient
和stops
。看一下下面的例子。
API参考:
http://api.highcharts.com/highcharts/Axis.addPlotBand
http://api.highcharts.com/highcharts/Axis.removePlotBand
DOCS参考:
https://www.highcharts.com/docs/chart-design-and-style/colors