[Bug] minInterval do not work when set `alignTicks:true` for multiple yAxis
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.4.2
### Link to Minimal Reproduction
https://codepen.io/chellhoo/pen/dyQZxxx
### Steps to Reproduce
1. show multiple yAxis and set `alignTicks: true`
2. set `minInterval: 1` for the second yAxis
3. let the data interval of the second series small
```
{
yAxis: [
{
type: 'value',
name: 'Precipitation',
alignTicks: true,
},
{
type: 'value',
name: 'Temperature',
// expect to show integer
minInterval: 1,
alignTicks: true,
},
],
series: [
// ...
{
name: 'Temperature',
type: 'line',
yAxisIndex: 1,
// data
data: [1],
},
]
}
```
### Current Behavior
in the second yAxis, its axis label show as decimal
### Expected Behavior
expect to show integer in the second yAxis
### Environment
_No response_
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.