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 2021/02/02 02:01:28 UTC

[GitHub] [echarts] xintq opened a new issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

xintq opened a new issue #14183:
URL: https://github.com/apache/echarts/issues/14183


   ## Version
   5.0+
   
   ## Steps to reproduce
   复制代码到网页 https://echarts.apache.org/examples/zh/editor.html?c=area-stack 就可复现
   
   ## What is expected?
   超出 `yAxis` 最大值的部分被截断,剩余的部分也应该正常显示(4.9没有问题)
   
   ## What is actually happening?
   超出 `yAxis` 最大值的部分全部被截断,图形显示出现空白
   
   ```javascript
   option = {
       title: {
           text: '堆叠区域图'
       },
       tooltip: {
           trigger: 'axis',
           axisPointer: {
               type: 'cross',
               label: {
                   backgroundColor: '#6a7985'
               }
           }
       },
       legend: {
           data: ['邮件营销', '联盟广告', '视频广告', '直接访问', '搜索引擎']
       },
       toolbox: {
           feature: {
               saveAsImage: {}
           }
       },
       grid: {
           left: '3%',
           right: '4%',
           bottom: '3%',
           containLabel: true
       },
       xAxis: [
           {
               type: 'category',
               boundaryGap: false,
               data: ['周一', '周二', '周三', '周四', '周五', '周六', '周日']
           }
       ],
       yAxis: [
           {
               type: 'value',
               max: 2000
           }
       ],
       series: [
           {
               name: '邮件营销',
               type: 'line',
               stack: '总量',
               areaStyle: {},
               emphasis: {
                   focus: 'series'
               },
               data: [120, 132, 101, 134, 90, 230, 210]
           },
           {
               name: '联盟广告',
               type: 'line',
               stack: '总量',
               areaStyle: {},
               emphasis: {
                   focus: 'series'
               },
               data: [220, 182, 191, 234, 290, 330, 310]
           },
           {
               name: '视频广告',
               type: 'line',
               stack: '总量',
               areaStyle: {},
               emphasis: {
                   focus: 'series'
               },
               data: [150, 232, 201, 154, 190, 330, 410]
           },
           {
               name: '直接访问',
               type: 'line',
               stack: '总量',
               areaStyle: {},
               emphasis: {
                   focus: 'series'
               },
               data: [320, 332, 301, 334, 390, 330, 320]
           },
           {
               name: '搜索引擎',
               type: 'line',
               stack: '总量',
               label: {
                   show: true,
                   position: 'top'
               },
               areaStyle: {},
               emphasis: {
                   focus: 'series'
               },
               data: [820, 932, 901, 934, 1290, 1330, 1320]
           }
       ]
   };
   ```


----------------------------------------------------------------
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] [echarts] echarts-bot[bot] removed a comment on issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] removed a comment on issue #14183:
URL: https://github.com/apache/echarts/issues/14183#issuecomment-771291345


   This issue is not created using [issue template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close it. 🙊
   Sorry for this, but it helps save our maintainers' time so that more developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,请使用 issue 模板重新创建 issue。
   
   如果您认为虽然没有使用模板,但您已经提供了复现问题的充分描述,或者您的问题无法使用模板表达,也可以重新 open 这个 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] [echarts] echarts-bot[bot] closed issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

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


   


----------------------------------------------------------------
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] [echarts] echarts-bot[bot] closed issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

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


   


----------------------------------------------------------------
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] [echarts] plainheart commented on issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

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


   似乎是个 bug,补充一点问题:
   如果设置了 `clip: false` 5.0 中 `areaStyle` 将不显示,只显示 `symbol`
   
   ![image](https://user-images.githubusercontent.com/26999792/106542645-28fdd180-653f-11eb-8dcd-3bb17e65230f.png)
   
   这与 4.9 不同
   
   ![image](https://user-images.githubusercontent.com/26999792/106542732-50ed3500-653f-11eb-9e76-6888fb67b652.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



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


[GitHub] [echarts] plainheart commented on issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

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


   Closed this since a new issue #15106 was opened.


-- 
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] [echarts] echarts-bot[bot] commented on issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

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


   This issue is not created using [issue template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close it. 🙊
   Sorry for this, but it helps save our maintainers' time so that more developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,请使用 issue 模板重新创建 issue。
   
   如果您认为虽然没有使用模板,但您已经提供了复现问题的充分描述,或者您的问题无法使用模板表达,也可以重新 open 这个 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] [echarts] xintq commented on issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

Posted by GitBox <gi...@apache.org>.
xintq commented on issue #14183:
URL: https://github.com/apache/echarts/issues/14183#issuecomment-857309714


   Update - Jun 9, 2021
   ---------------------
   I just found that if the following toolbox configuration is removed from the option, then the chart will show normally as expected.  Does it mean the toolbox is conflict with the area clipping? 
   
   ```
   ...
   toolbox: {
           feature: {
               saveAsImage: {}
           }
       },
   ...
   ```


-- 
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] [echarts] echarts-bot[bot] commented on issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

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


   This issue is not created using [issue template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close it. 🙊
   Sorry for this, but it helps save our maintainers' time so that more developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,请使用 issue 模板重新创建 issue。
   
   如果您认为虽然没有使用模板,但您已经提供了复现问题的充分描述,或者您的问题无法使用模板表达,也可以重新 open 这个 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] [echarts] plainheart commented on issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

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


   似乎是个 bug,补充一点问题:
   如果设置了 `clip: false` 5.0 中 `areaStyle` 将不显示,只显示 `symbol`
   
   ![image](https://user-images.githubusercontent.com/26999792/106542645-28fdd180-653f-11eb-8dcd-3bb17e65230f.png)
   
   这与 4.9 不同
   
   ![image](https://user-images.githubusercontent.com/26999792/106542732-50ed3500-653f-11eb-9e76-6888fb67b652.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



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


[GitHub] [echarts] plainheart commented on issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

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


   Have you tried the latest version 5.1.2? If no, please try it and check the issue still exists in this version.


-- 
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] [echarts] xintq commented on issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

Posted by GitBox <gi...@apache.org>.
xintq commented on issue #14183:
URL: https://github.com/apache/echarts/issues/14183#issuecomment-857322097


   > Have you tried the latest version 5.1.2? If no, please try it and check the issue still exists in this version.
   Yes, I tried with the latest 5.1.2, and it still exists, and I've submitted a new issue about this in #15106


-- 
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] [echarts] echarts-bot[bot] removed a comment on issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] removed a comment on issue #14183:
URL: https://github.com/apache/echarts/issues/14183#issuecomment-771291345


   This issue is not created using [issue template](https://ecomfe.github.io/echarts-issue-helper/) so I'm going to close it. 🙊
   Sorry for this, but it helps save our maintainers' time so that more developers get helped.
   Feel free to create another issue using the issue template.
   
   If you think you have already made your point clear without the template, or your problem cannot be covered by it, you may re-open this issue again.
   
   这个 issue 未使用 [issue 模板](https://ecomfe.github.io/echarts-issue-helper/?lang=zh-cn) 创建,所以我将关闭此 issue。
   为此带来的麻烦我深表歉意,但是请理解这是为了节约社区维护者的时间,以更高效地服务社区的开发者群体。
   如果您愿意,请使用 issue 模板重新创建 issue。
   
   如果您认为虽然没有使用模板,但您已经提供了复现问题的充分描述,或者您的问题无法使用模板表达,也可以重新 open 这个 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] [echarts] plainheart closed issue #14183: 多系列area-stack图在yAxis设置max时超出最大值的部分无法显示

Posted by GitBox <gi...@apache.org>.
plainheart closed issue #14183:
URL: https://github.com/apache/echarts/issues/14183


   


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