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/08/27 09:45:28 UTC

[GitHub] [incubator-echarts] InfinityMo opened a new issue #13204: saveAsImage 当div高度过低时,导出的图片底部有一条横线

InfinityMo opened a new issue #13204:
URL: https://github.com/apache/incubator-echarts/issues/13204


   ### Version
   4.8.0
   
   ### Steps to reproduce
   saveAsImage 当div高度过低时,导出的图片底部有一条横线
   
   ### What is expected?
     
   
   ### What is actually happening?
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. 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



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


[GitHub] [incubator-echarts] quillblue commented on issue #13204: saveAsImage 当div高度过低时,导出的图片底部有一条横线

Posted by GitBox <gi...@apache.org>.
quillblue commented on issue #13204:
URL: https://github.com/apache/incubator-echarts/issues/13204#issuecomment-682302964


   Hi, please be kind to provide reproduceable link via any online editor and necessary screenshot for the community to better understand your 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.

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] [incubator-echarts] plainheart commented on issue #13204: saveAsImage 当div高度过低时,导出的图片底部有一条横线

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #13204:
URL: https://github.com/apache/incubator-echarts/issues/13204#issuecomment-682323969


   @InfinityMo 刚试了一下,没有复现,是否漏掉了一些配置?
   https://codepen.io/plainheart/pen/Vwabgdd


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


[GitHub] [incubator-echarts] InfinityMo commented on issue #13204: saveAsImage 当div高度过低时,导出的图片底部有一条横线

Posted by GitBox <gi...@apache.org>.
InfinityMo commented on issue #13204:
URL: https://github.com/apache/incubator-echarts/issues/13204#issuecomment-682312177


   
   ![img](https://user-images.githubusercontent.com/68720016/91519402-14306880-e925-11ea-8a26-57a9e48a1e19.png)
   
   
   <div id="chart" style="width:100%;height:151px"></div>
   option = {
           tooltip: {
             show: true
           },
           toolbox: {
             feature: {
               saveAsImage: {
                 name: '词云图',
                 backgroundColor: '#fff',
                 connectedBackgroundColor: '#fff'
               }
             }
           },
           series: [{
             type: 'wordCloud',
             gridSize: 3, // 字体间的间距
             sizeRange: [20,50], // 最小字体和最大字体
             rotationRange: [0,0], // 字体旋转角度的范围
             shape: 'circle', 
             textStyle: {
               normal: '#6E6E6E',
               emphasis:'bold'
             },
             data: [
     {
       name: '多少钱',
       value: 41
     }, {
       name: '价格',
       value: 36
     }, {
       name: '贵',
       value: 29
     }, {
       name: '便宜',
       value: 19
     }, {
       name: '折扣',
       value: 7
     }, {
       name: '赠品',
       value: 7
     }, {
       name: '心痛',
       value: 7
     }, {
       name: '信用卡',
       value: 7
     }, {
       name: '银子',
       value: 6
     }, {
       name: '退税',
       value: 6
     }, {
       name: '太贵',
       value: 4
     }, {
       name: 'RMB',
       value: 4
     }, {
       name: '汇率',
       value: 4
     }, {
       name: '最贵',
       value: 2
     }, {
       name: '没钱',
       value: 2
     }
   ]
           }]
         }
   


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


[GitHub] [incubator-echarts] InfinityMo closed issue #13204: saveAsImage 当div高度过低时,导出的图片底部有一条横线

Posted by GitBox <gi...@apache.org>.
InfinityMo closed issue #13204:
URL: https://github.com/apache/incubator-echarts/issues/13204


   


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


[GitHub] [incubator-echarts] InfinityMo commented on issue #13204: saveAsImage 当div高度过低时,导出的图片底部有一条横线

Posted by GitBox <gi...@apache.org>.
InfinityMo commented on issue #13204:
URL: https://github.com/apache/incubator-echarts/issues/13204#issuecomment-682373322


   > @InfinityMo 刚试了一下,没有复现,是否漏掉了一些配置?
   > https://codepen.io/plainheart/pen/Vwabgdd
   
   抱歉,我后来又查看了下,是因为win10自带的照片查看器出现的横线。抱歉,是我的问题


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


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13204: saveAsImage 当div高度过低时,导出的图片底部有一条横线

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


   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



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


[GitHub] [incubator-echarts] InfinityMo edited a comment on issue #13204: saveAsImage 当div高度过低时,导出的图片底部有一条横线

Posted by GitBox <gi...@apache.org>.
InfinityMo edited a comment on issue #13204:
URL: https://github.com/apache/incubator-echarts/issues/13204#issuecomment-682312177


   ![img](https://user-images.githubusercontent.com/68720016/91519402-14306880-e925-11ea-8a26-57a9e48a1e19.png)
   
   ```html
   <div id="chart" style="width:100%;height:151px"></div>
   ```
   ```js
   option = {
       tooltip: {
           show: true
       },
       toolbox: {
           feature: {
               saveAsImage: {
                   name: '词云图',
                   backgroundColor: '#fff',
                   connectedBackgroundColor: '#fff'
               }
           }
       },
       series: [{
           type: 'wordCloud',
           gridSize: 3, // 字体间的间距
           sizeRange: [20, 50], // 最小字体和最大字体
           rotationRange: [0, 0], // 字体旋转角度的范围
           shape: 'circle',
           textStyle: {
               normal: '#6E6E6E',
               emphasis: 'bold'
           },
           data: [{
               name: '多少钱',
               value: 41
           }, {
               name: '价格',
               value: 36
           }, {
               name: '贵',
               value: 29
           }, {
               name: '便宜',
               value: 19
           }, {
               name: '折扣',
               value: 7
           }, {
               name: '赠品',
               value: 7
           }, {
               name: '心痛',
               value: 7
           }, {
               name: '信用卡',
               value: 7
           }, {
               name: '银子',
               value: 6
           }, {
               name: '退税',
               value: 6
           }, {
               name: '太贵',
               value: 4
           }, {
               name: 'RMB',
               value: 4
           }, {
               name: '汇率',
               value: 4
           }, {
               name: '最贵',
               value: 2
           }, {
               name: '没钱',
               value: 2
           }]
       }]
   }
   ```


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