在Highcharts,我想用2种颜色填充区域图,正值得到一种颜色,负值得到另一种颜色.我已经能够做到这一点linearGradient,但必须根据这个调整size of the container.
Highcharts
linearGradient
size of the container
是否有更通用的方法,例如设置值> 0 color 1, values < 0 color 2?
0 color 1, values < 0 color 2?
有关更多信息和示例,请参阅我的JSFiddle:http: //jsfiddle.net/GNvur/2/
colors highcharts
colors ×1
highcharts ×1