dataset的source中,如果出现["0",……],会发生legend错乱的问题echarts 折线配置项内容和展示

如题

配置项如下
      
setTimeout(function () {

    option = {
        legend: {},
        tooltip: {
            trigger: 'axis',
            showContent: false
        },
        dataset: {
            source: [
                ["product", "2019-06-19", "2019-06-20", "2019-06-21", "2019-06-22", "2019-06-23", "2019-06-24", "2019-06-25"],
                ["0", 3, 5, 6, 4, 7, 2, 4],
                ["1", 3, 5, 6, 4, 7, 2, 4],
                ["2", 3, 12, 4, 7, 6, 4, 1],
                ["3", 1, 0, 1, 2, 6, 2, 4],
                ["4", 2, 2, 3, 2, 1, 1, 5],
                ["5", 8, 5, 4, 8, 9, 6, 5],
                ["6", 8, 14, 8, 12, 11, 6, 12],
                ["7", 7, 10, 12, 9, 8, 6, 8],
                ["8", 11, 11, 11, 12, 10, 9, 8],
                ["9", 8, 10, 12, 11, 14, 8, 14],
                ["10", 9, 6, 4, 7, 6, 5, 4]
            ]
        },
        xAxis: {type: 'category'},
        yAxis: {gridIndex: 0},
        grid: {top: '55%'},
        series: [
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {type: 'line', smooth: true, seriesLayoutBy: 'row'},
            {
                type: 'pie',
                id: 'pie',
                radius: '30%',
                center: ['50%', '25%'],
                label: {
                    formatter: '{b}: {@2012} ({d}%)'
                },
                encode: {
                    itemName: 'product',
                    value: '2012',
                    tooltip: '2012'
                }
            }
        ]
    };

    myChart.on('updateAxisPointer', function (event) {
        var xAxisInfo = event.axesInfo[0];
        if (xAxisInfo) {
            var dimension = xAxisInfo.value + 1;
            myChart.setOption({
                series: {
                    id: 'pie',
                    label: {
                        formatter: '{b}: {@[' + dimension + ']} ({d}%)'
                    },
                    encode: {
                        value: dimension,
                        tooltip: dimension
                    }
                }
            });
        }
    });

    myChart.setOption(option);

});
    
截图如下