Version
5.5.0
Link to Minimal Reproduction
Steps to Reproduce
- Have a line/area cartesian chart where first and last data points are null ( example )
- Set
areaStyle: {}
- Set
step: end
andconnectNulls: true
props - The chart does not appear correctly
Current Behavior
Area polygon is incorrect, the bottom of it is shifted:
Expected Behavior
The area polygon should be correct
Environment
- OS: macos
- Browser: chrome
- Framework: n/a
Any additional comments?
There is a related problem when connectNulls
is false:
1条答案
按热度按时间pxyaymoc1#
The polygon one is a bug. But the one in
Any additional comments
seems to be correct.This looks as expected to me. Step can be one of
'start', 'middle', 'end'
.