Version
5.4.0
Link to Minimal Reproduction
https://codepen.io/Mykhailo-codepen/pen/gOKzYJj
Steps to Reproduce
- Create 7 days x axis starting from Saturday
- Add one axisTick interval which divides weeks. So interval should be before Monday. For this you need to use method.
Current Behavior
If Interval one only every time it goes before first bar.
If we have more then one interval it works fine (set intervals on proper places) but adds one extra interval after last bar.
Expected Behavior
interval depends on method logic only
Environment
Problem in all browsers independent of Framework
Any additional comments?
No response
4条答案
按热度按时间gv8xihay1#
This is unavailable for category axis.
https://echarts.apache.org/en/option.html#xAxis.interval
cgh8pdjw2#
This is unavailable for category axis.
https://echarts.apache.org/en/option.html#xAxis.interval
My issue related to xAxis.axisTick.interval not to xAxis.interval
https://echarts.apache.org/en/option.html#xAxis.axisTick.interval
a7qyws3x3#
Sorry. I checked again and this is a bug.
wooyq4lh4#
This issue is labeled with
difficulty: easy
.@Mykhaylo12 Would you like to debug it by yourself? This is a quicker way to get your problem fixed. Or you may wait for the community to fix.
Please have a look at How to debug ECharts if you'd like to give a try. 🤓