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/05/27 04:28:55 UTC

[GitHub] [echarts] lait233 opened a new issue #15045: 柱状图Y轴数据显示超出柱子的求和数据!是被有些数值所影响的!

lait233 opened a new issue #15045:
URL: https://github.com/apache/echarts/issues/15045


   ### Version
   5.1.1
   
   ### Steps to reproduce
   ```js
   option = {
       tooltip: {
           trigger: 'axis',
           axisPointer: {            // 坐标轴指示器,坐标轴触发有效
               type: 'shadow'        // 默认为直线,可选为:'line' | 'shadow'
           }
       },
       grid: {
           left: '3%',
           right: '4%',
           bottom: '3%',
           containLabel: true
       },
       xAxis: [
           {
               type: 'category',
               data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun','Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun',],
               axisTick: {
                   alignWithLabel: true
               }
           }
       ],
       yAxis: [
           {
               type: 'value'
           }
       ],
       series: [
           {
               name: '直接访问',
               type: 'bar',
               stack: 'total',
               data: [90.11, 95.75, 88.91, 97.31,    89.93,       97.38, 0, 94.11,     92.70,       91.37, 0, 0, 92.76, 0] ,
           },
                   {
               name: '直接访问2',
               type: 'bar',
   stack: 'total',
               data:  [0, 0, 0, 0,                   0,            0, 0, 0,            0,       0, 0, 0, 0, 0 ],
   
           },
                           {
               name: '直接访问3',
               type: 'bar',
   stack: 'total',
               data: [2.19, 1.21, 2.3, 0.67,        1.62,         0.23, 0, 1.17,      1.04,      2.55, 0, 0, 1.27, 0 ],
           },
                                   {
               name: '直接访问4',
               type: 'bar',
   stack: 'total', 
               data: [ 7.7, 3.04, 8.79, 2.02,       8.45,         2.39,100, 4.72,     6.26,     6.08, 100, 100, 5.97, 100,],
           },
                  
   
           
       ]
   };
   ```
   ### What is expected?
   Y轴数据标正常显示不超过100
   
   ### What is actually happening?
   Y轴数据标超过了100变成了120!
   
   ---
   等下补充图片
   92.7   0   1.04  6.26  这一组
   
   89.93  0 1.62 8.45   这一组
   
   去掉我用空格隔开的这2组数据 Y轴就正常显示回100了!
   <!-- 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] [echarts] lait233 commented on issue #15045: 柱状图Y轴数据显示超出柱子的求和数据!是被有些数值所影响的!

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


   <img width="2222" alt="echartsbug 1" src="https://user-images.githubusercontent.com/31282366/119769461-1263f780-beed-11eb-87bd-e2ca2ac67f79.png">
   <img width="2209" alt="echarts——bug2" src="https://user-images.githubusercontent.com/31282366/119769453-0c6e1680-beed-11eb-9143-3bcbde201d4b.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] echarts-bot[bot] commented on issue #15045: 柱状图Y轴数据显示超出柱子的求和数据!是被有些数值所影响的!

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






-- 
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] pissang closed issue #15045: 柱状图Y轴数据显示超出柱子的求和数据!是被有些数值所影响的!

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


   


-- 
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] 100pah commented on issue #15045: 柱状图Y轴数据显示超出柱子的求和数据!是被有些数值所影响的!

Posted by GitBox <gi...@apache.org>.
100pah commented on issue #15045:
URL: https://github.com/apache/echarts/issues/15045#issuecomment-850363690


   Related to #15015


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