type: 'time' xAxis auto interval optimize
Open
bug
en
pending
topic: axis-time
waiting-for: community
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.2.2
### Steps to reproduce
1 https://echarts.apache.org/examples/zh/editor.html?c=line-simple
2
```
option = {
xAxis: {
type: 'time'
},
yAxis: {
type: 'value'
},
series: [
{
data: [
[1637722125000, 0],
[1637723925000, 0]
],
type: 'line'
}
]
};
```
3 Shrink the window so that chart-container width is less than 450px
### What is expected?
time xAxis calculate interval according to chart width
### What is actually happening?
time xAxis label overlap

Contributor guide
Assessment
This issue has not been assessed yet.