You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/06/05 07:14:07 UTC

[GitHub] [incubator-echarts] liby opened a new issue #10625: legend在高度足够的情况下自动换行了

liby opened a new issue #10625: legend在高度足够的情况下自动换行了
URL: https://github.com/apache/incubator-echarts/issues/10625
 
 
   ### Version
   4.2.1
   
   ### Reproduction link
   [https://gallery.echartsjs.com/editor.html?c=xtq0dVdAuW&v=1](https://gallery.echartsjs.com/editor.html?c=xtq0dVdAuW&v=1)
   
   ### Steps to reproduce
   - legend中的data接收到一个空的键名时会在高度足够的情况下换行且不显示区分色块,但是依旧展示在饼状图上
   - 在legend中增加`type: 'scroll'`后可以正常显示且不会换行;或者不要给予空键名也可以解决
   
   ### What is expected?
   不会自动换行且显示区分色块
   
   ### 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: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org