线索跟进分析

描述:当前是关于Echarts图表中的 示例。
 
            //------------------------------------引用请注明出处

var dataBeast=[98, 100, 40, 150, 60, 200, 100, 150];
var dataBeauty=[60, 40, 100, 80, 70, 20, 90, 50];
var xAxisData=['大华南区', '大华北区', '大西南区', '大西北区', '大华中区', '大东南区', '大东南区', '大华东区'];
var dataTotal=[60, 40, 100, 80, 70, 96, 85, 90];
var datas= [60, 40, 100, 80, 70, 110, 130,140];


option = {
    color:['#019aba','#7a201f','#11565d'],
    title: {
        text: '线索跟进分析',
        subtext: '根据数据变化',
        subtextStyle: {
            color: '#f00'
        },
        x: 'center'
    },
    calculable: true,
    legend:{
        right:'20%',
        bottom: 10,
        textStyle: {
            color: '#666',
            fontSize: 12,
        },
        data:['未跟进', '待跟进', '逾期未跟进', '工作时间跟进率']
    },
    grid:{
        left:5,
        right:20,
        top:80,
        bottom:50,
        containLabel:true,
    },
    xAxis: {
      show:true,
      axisTick:{
          show:false
      },
      data:xAxisData,
    },
    yAxis: [
        {
            type:'value',
            name:'',
            splitNumber:2,
            axisLine: {
                show: false
            },
            axisTick: {
                show:false
            },
            splitLine: {
                show:false
            }
        },
        {
            type:'value',
            name:'',
            splitNumber:2,
            axisLine: {
                show: false
            },
            axisTick: {
                show:false
            },
            splitLine: {
                show:false
            }
        },
    ],
    series: [
        {
            type: 'bar',
            name:'未跟进',
            stack:'游客人数',
            data:dataBeast,
            barWidth:50
        },
        {
            type: 'bar',
            name:'待跟进',
            stack:'游客人数',
            data:dataBeauty,
            barWidth:50
        },
        {
            type: 'bar',
            name:'逾期未跟进',
            stack:'游客人数',
            data:dataBeauty,
            barWidth:50
        },
        {
            type: 'line',
            name:'工作时间跟进率',
            yAxisIndex:1,
            data:dataTotal
        },
    ]
};