You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2019/10/18 03:47:59 UTC

[GitHub] [incubator-echarts] gaoqiangz opened a new issue #11428: 饼状图使用Dataset时分类为数值时显示不正确

gaoqiangz opened a new issue #11428: 饼状图使用Dataset时分类为数值时显示不正确
URL: https://github.com/apache/incubator-echarts/issues/11428
 
 
   ### Version
   4.4.0
   
   ### Steps to reproduce
   option = {
       legend: {},
       tooltip: {},
       dataset: {
           source: [
               ["分类","平均消费金额"],
               ["007",100],
               ["008",200],
               ["123",300],
               ["333",400],
               ["444",500],
               ["Test",600],
           ]
       },
       series: [
           {type: 'pie'},
       ]
   };
   
   ### What is expected?
   "Test"丢失了,比例显示也不正确
   
   ### What is actually happening?
   分类数值不被自动转换类型,比例显示正确
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org