wqzwh opened a new issue, #18181:
URL: https://github.com/apache/echarts/issues/18181
### Version
5.4.1
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
```
option = {
xAxis: {
type: 'category',
data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
},
yAxis: {
type: 'value',
},
series: [
{
data: [100, 100, 100, 100, 100, 100, 100],
type: 'line',
smooth: true,
}
]
};
```
<img width="1782" alt="image"
src="https://user-images.githubusercontent.com/16662470/212837037-8d32c031-dba8-4077-a9b1-9c3c7e144ccd.png">
### Current Behavior
当数据集都是100、200、300等等的时候,折线图显示会贴在顶部,我理解y轴的分割应该会自动计算的
### Expected Behavior
<img width="1782" alt="image"
src="https://user-images.githubusercontent.com/16662470/212837037-8d32c031-dba8-4077-a9b1-9c3c7e144ccd.png">
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]