标记空值

描述:当前是关于Echarts图表中的 示例。
 
            option = {
    toolbox: {
        show : false,
    },
    xAxis : [
        {
            show : false,
            type : 'category',
            data : ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10']
        }
    ],
    yAxis : [
        {
            show : false,
            type : 'value',
        }
    ],
    calculable : true,
    tooltip : {
        trigger: 'axis',
        formatter: "{b}时 : {c}次"
    },
    series : [
        {
            name:'test1',
            type:'line',
            connectNulls: false,
            itemStyle: {
                normal: {
                    lineStyle: {
                        shadowColor : 'rgba(0,0,0,0.4)'
                    }
                }
            },
            data:[0, 0, 0, 0, 0, 0, 14, 3, 0, null,null]
        },
        
        {
            name: 'test1',
            type: 'scatter',
            data: [0, 0, 0, 0, 0, 0, '-','-','-','-'],
            itemStyle: {
                normal: {
                    color: 'grey',
                    opacity:'1'
                }
    
            }
            
        }
    ]
};