基本折线图echarts 折线配置项内容和展示

配置项如下
      option = {
    backgroundColor: "#fff",
    color: ["#37A2DA"],


    tooltip: {
        trigger: 'axis'
    },
    xAxis: {
        type: 'category',
        boundaryGap: false,
        data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日']
    },
    yAxis: {
        x: 'center',
        type: 'value',
    },
    series: [{
        name: '销量',
        type: 'line',
        data: [20, 80, 51, 90, 80, 30, 20]
    }]
};
    
截图如下