[Bug] Echart draws a line between two points with an offset
Open
bug
en
topic: graph
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
echarts@5.2.0
### Link to Minimal Reproduction
https://stackblitz.com/edit/echarts-xyjq2g?file=index.html
### Steps to Reproduce
Hi,
Please take a look at the [example](https://stackblitz.com/edit/echarts-xyjq2g?file=index.html).
### Current Behavior
The chart draws a line between two points with an offset. The issue is most noticeable near the '2' point, because the line is shifted relative to the arrow.
### Expected Behavior
The line should be drawn directly from the center of the point '1' to the center of the point '2'.
### Environment
_No response_
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.