ciukstar opened a new issue #10374: The chart columns overflow the grid area 
for a stacked bar chart with logarithmic Y axis
URL: https://github.com/apache/incubator-echarts/issues/10374
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   option = {
       title: {
           text: '对数轴示例',
           left: 'center'
       },
       tooltip: {
           trigger: 'item',
           formatter: '{a} <br/>{b} : {c}'
       },
       legend: {
           left: 'left',
           data: ['2的指数', '3的指数']
       },
       xAxis: {
           type: 'category',
           name: 'x',
           splitLine: {show: false},
           data: ['一', '二', '三', '四', '五', '六', '七', '八', '九']
       },
       grid: {
           left: '3%',
           right: '4%',
           bottom: '3%',
           containLabel: true
       },
       yAxis: {
           type: 'log',
           name: 'y'
       },
       series: [
           {
               name: '3的指数',
               type: 'bar',
               stack: 'one',
               data: [1, 3, 9, 27, 81, 247, 741, 2223, 6669],
               label: {
             normal: {
               show: true,
               position: 'insideTop'
             }
           }
           },
           {
               name: '2的指数',
               type: 'bar',
               stack: 'one',
               data: [1, 2, 4, 8, 16, 32, 64, 128, 256],
               label: {
             normal: {
               show: true,
               position: 'insideTop'
             }
           }
           },
           {
               name: '1/2的指数',
               type: 'bar',
               stack: 'one',
               data: [1/2, 1/4, 1/8, 1/16, 1/32, 1/64, 1/128, 1/256, 1/512],
               label: {
             normal: {
               show: true,
               position: 'insideTop'
             }
           }
           }
       ]
   }
   
   ### What is expected?
   Columns do not overflow
   
   ### What is actually happening?
   Columns overflow
   
   <!-- 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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to