todyhuang opened a new issue #12157: 
漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大
URL: https://github.com/apache/incubator-echarts/issues/12157
 
 
   ### Version
   4.6.0
   
   ### Steps to reproduce
   option = {
       title: {
           text: '漏斗图',
           subtext: '纯属虚构'
       },
       tooltip: {
           trigger: 'item',
           formatter: "{a} <br/>{b} : {c}%"
       },
       toolbox: {
           feature: {
               dataView: {readOnly: false},
               restore: {},
               saveAsImage: {}
           }
       },
       legend: {
           data: ['展现','点击','访问','咨询','订单']
       },
       series: [
           {
               name: '预期',
               type: 'funnel',
               left: '10%',
               width: '80%',
               label: {
                   formatter: '{b}预期'
               },
               sort:'none',
               labelLine: {
                   show: false
               },
               itemStyle: {
                   opacity: 0.7
               },
               emphasis: {
                   label: {
                       position: 'inside',
                       formatter: '{b}预期: {c}%'
                   }
               },
               data: [
                   {value: 60, name: '访问'},
                   {value: 0, name: '咨询'},
                   {value: 20, name: '订单'},
                   {value: 0, name: '点击'},
                   {value: 100, name: '展现'}
               ]
           }
       ]
   };
   
   ### What is expected?
   数据为0的图居然比数据为20的要写,应该就是一根线
   
   ### What is actually happening?
   数据为0的图居然比数据为20的还要大
   
   <!-- 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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to