oustn opened a new pull request #10998: fix: Bar chart overstep the scale extent
URL: https://github.com/apache/incubator-echarts/pull/10998
 
 
   修复柱状图手动设置 scale 最大值最小值时超出坐标范围 issue
   
   Config:
   
   ```
   option = {
       xAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       yAxis: {
           type: 'value',
           min: 100,
           max: 180
       },
       series: [{
           data: [120, 200, 150, 80, 70, 110, 130],
           type: 'bar'},
       {
           data: [120, 200, 150, 80, 70, 110, 130],
           type: 'line'
       },
       ]
   };
   ```
   
   Result:
   
   
![image](https://user-images.githubusercontent.com/16217347/62820533-097b2800-bb98-11e9-9013-56bdbaeb24fd.png)
   
   Expect:
   
   
![image](https://user-images.githubusercontent.com/16217347/62820539-1a2b9e00-bb98-11e9-9593-0b6592ded1ba.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:
[email protected]


With regards,
Apache Git Services

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

Reply via email to