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 2020/06/03 10:54:23 UTC

[GitHub] [incubator-echarts] regrex commented on issue #12746: Can funnel chart render data by line?

regrex commented on issue #12746:
URL: https://github.com/apache/incubator-echarts/issues/12746#issuecomment-638119176


   ```javascript
   option = {
       series : [
           {
               name:'converted',
               type:'funnel',
               sort: 'none',
               minSize: '10%',
               maxSize: '80%',
               label: {
                   position: 'rightTop'
               },
               data:[{
                   name: '感知',
                   value: 100
               }, {
                   name: '好奇',
                   value: 60
               }, {
                   name: '询问',
                   value: 40
               }, {
                   name: '行动',
                   value: 60
               }, {
                   name: '拥护',
                   value: 100,
                   itemStyle: {
                       height: 0,
                   }
               }],
               itemStyle: {
                   color: '#2152d9',
               }
           }
       ]
   };
   ```
   ![funnel demo](https://sf3-ttcdn-tos.pstatp.com/obj/motor-img/24041d63e59e43526ef068e01fa2297f)
   I have solved this problem by set last item height to 0. 


----------------------------------------------------------------
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



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