渐变色
,
"series": [
{
"name": "计划提货",
"type": "bar",
"color": {
"type": "linear",
"x": 0,
"y": 0,
"x2": 0,
"y2": 1,
"colorStops": [
{
"offset": 0,
"color": "#14c8d4"
},
{
"offset": 1,
"color": "#04EBC1"
}
],
"globalCoord": false
},
"data": [
2,
4.9,
7,
23.2
],
"itemStyle": {
"normal": {
"label": {
"show": true,
"position": "top",
"textStyle": {
"color": "#FFFFFF",
"fontSize": 16
}