Echarts 4使用dataset 时 如果图例超过20个就报错

描述:当前是关于Echarts图表中的 柱状图 示例。
 
            var option = {
    legend: {},
    tooltip: {},
    dataset: {
        source: [
            
       			//不报错
                // ["txt", "211", "221", "231", "241", "251", "261", "271", "281", "291", "301", "311", "321", "331", "341", "351", "361", "371", "381", "391", "401"
                // ,"411"],
                
                //报错
        //  	["txt", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40"
        //      ,"41"],
        
				//不报错
         	    ["txt", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20"
                  ,"21"],
                  
        		["1", 1, 2, 3, 4, 5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21]
        ]
    },
    xAxis: {type: 'category'},
    yAxis: {},
    series: [
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'},
    	{type: 'bar'}
    ]};