fernando1987 opened a new issue #11023: 柱形图(bar)图例数据出现“0”时不能渲染图表
URL: https://github.com/apache/incubator-echarts/issues/11023
 
 
   样例数据
   
   option = {
       legend: {},
       tooltip: {},
       dataset: {
           source: [
               ['product', '0', '1', '2'],
               ['Matcha Latte', 43.3, 85.8, 93.7],
               ['Milk Tea', 83.1, 73.4, 55.1],
               ['Cheese Cocoa', 86.4, 65.2, 82.5],
               ['Walnut Brownie', 72.4, 53.9, 39.1]
           ]
       },
       xAxis: {type: 'category'},
       yAxis: {},
       series: [
           {type: 'bar'},
           {type: 'bar'},
           {type: 'bar'}
       ]
   };
   
   错误堆栈
   editor.js?_v_=1553896255267:434 TypeError: Cannot read property 'width' of 
undefined
       at Rh (echarts.min.js?_v_=1553896255267:22)
       at Object.cartesian2d (echarts.min.js?_v_=1553896255267:22)
       at Xs._add (echarts.min.js?_v_=1553896255267:22)
       at Xs.execute (echarts.min.js?_v_=1553896255267:22)
       at i._renderNormal (echarts.min.js?_v_=1553896255267:22)
       at i.render (echarts.min.js?_v_=1553896255267:22)
       at mr.progress (echarts.min.js?_v_=1553896255267:22)
       at vr (echarts.min.js?_v_=1553896255267:22)
       at mr.UI.perform (echarts.min.js?_v_=1553896255267:22)
       at echarts.min.js?_v_=1553896255267:22
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org

Reply via email to