基本折线图

描述:当前是关于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]
    }]
};