用户付费堆叠柱状图

描述:当前是关于Echarts图表中的 柱状图 示例。
 
            option = {
    tooltip: {
        trigger: 'axis',
        axisPointer: { // 坐标轴指示器,坐标轴触发有效
            type: 'shadow' // 默认为直线,可选为:'line' | 'shadow'
        }
    },
    legend: {
        data: ['付费', '免费']
    },
    grid: {
        left: '3%',
        right: '4%',
        bottom: '3%',
        containLabel: true
    },
    xAxis: [{
        type: 'category',
        data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日']
    }],
    yAxis: [{
        type: 'value'
    }],
    series: [
        {
            name: '免费',
            type: 'bar',
            stack: '用户数',
            data: [120, 132, 101, 134, 90, 230, 210]
        },
        {
            name: '付费',
            type: 'bar',
            stack: '用户数',
            data: [220, 182, 191, 234, 290, 330, 310]
        }
        
    ]
};