[帮助,请像这样https://prnt.sc/rhdcn2建立图表。这不是列,我们需要带有渐变的区域样条,如屏幕截图。预先感谢!
您可以使用线性梯度的列系列:
series: [{
type: 'column',
borderRadius: 5,
color: {
linearGradient: {
x1: 0,
x2: 0,
y1: 0,
y2: 1
},
stops: [
[0, '#008022'],
[1, '#ebfff0']
]
},
data: [...]
}]
实时演示: http://jsfiddle.net/BlackLabel/6m4e8x0y/4917/
文档:https: // www.highcharts.com/docs/chart-design-and-style/colors