效果图如下:
写博客不是为了博眼球 是为了记笔记.
Smoothlinechart(vul_trend){
let myChart = echarts.init(document.getElementById("Linechart"));
let option = {
tooltip: {
trigger: 'axis'
},
color:['#2dbb8a'],
grid: {
left: 0,
right: 0,
bottom: 10,
top:10,
containLabel: true
},
xAxis: {
type: 'category',
boundaryGap: fal