import * as echarts from "echarts"; export default { top: 0, left: 0, grid: { x: 5, y: 15, x2: 35, y2: 40, }, xAxis: { type: "category", boundaryGap: false, show: false, data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], }, yAxis: { show: false, type: "value", }, series: [ { data: [0, 1330, 529, 934, 229, 630, 0], type: "line", smooth: true, lineStyle: { color: "#EF4E1B", }, areaStyle: { color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ { offset: 0, color: "#EF4E1B", // 0% 处的颜色 }, { offset: 1, color: "#fff", // 100% 处的颜色 }, ]), }, showSymbol: false, }, ], };