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/02/17 10:10:07 UTC

[GitHub] [incubator-echarts] todyhuang opened a new issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大

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


[GitHub] [incubator-echarts] todyhuang commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大

Posted by GitBox <gi...@apache.org>.
todyhuang commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大
URL: https://github.com/apache/incubator-echarts/issues/12157#issuecomment-587263152
 
 
   好的,谢谢。我先看看代码怎么弄。

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


[GitHub] [incubator-echarts] todyhuang commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大

Posted by GitBox <gi...@apache.org>.
todyhuang commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大
URL: https://github.com/apache/incubator-echarts/issues/12157#issuecomment-587261448
 
 
   嗯,从线来看是这样的,我也参考了其他的,比如阿里的G2,也是这样的。  但是看Hight CHart漏斗图,如果没有值,为0的话,就不显示面积。直接一根线在那
   ![image](https://user-images.githubusercontent.com/10398315/74701453-b1596880-5241-11ea-86bd-d97f1edfa334.png)
   
   请问后续有考虑,1 这样模式么,还有2可以自己控制改变漏斗脖子大小
   通过 neckWith 和 neckneckHeight 可以指定漏斗脖子的宽度和高度,其值为百分数,表示占总宽度或总高度百分比
   

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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大
URL: https://github.com/apache/incubator-echarts/issues/12157#issuecomment-586915294
 
 
   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵

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


[GitHub] [incubator-echarts] Ovilia commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大
URL: https://github.com/apache/incubator-echarts/issues/12157#issuecomment-587262525
 
 
   我觉得是合理的,但是这个需求比较小众。如果确实有这方面需求,比较快速的解决方法是尝试调试代码,然后给我们提 PR~

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


[GitHub] [incubator-echarts] Ovilia commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大
URL: https://github.com/apache/incubator-echarts/issues/12157#issuecomment-587260640
 
 
   结果上看没有问题,可能是理解有误
   <img width="817" alt="屏幕快照 2020-02-18 11 17 20" src="https://user-images.githubusercontent.com/779050/74701134-be298c80-5240-11ea-8b35-cc9b4450000e.png">
   

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


[GitHub] [echarts] github-actions[bot] commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12157:
URL: https://github.com/apache/echarts/issues/12157#issuecomment-1046320499


   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] github-actions[bot] commented on issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12157:
URL: https://github.com/apache/echarts/issues/12157#issuecomment-1053680915


   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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


[GitHub] [echarts] github-actions[bot] closed issue #12157: 漏斗图,可能是个BUG,如果SORT设置为none,数据为0的图居然比数据为20的还要大

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #12157:
URL: https://github.com/apache/echarts/issues/12157


   


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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