Custom Polygon: try to draw multiple custom polygons on a series, but with no idea about how to structure the data, and show correct data on the tooltip
Version
5
Link to Minimal Reproduction
https://codepen.io/vine101/pen/podLmdo
Steps to Reproduce
- 绘制一系列由四个点组成的不规则四边形
- 绘制后可以与每个点进行tooltip交互
Current Behavior
- data影响计算的画布坐标,最后tooltip显示的是坐标
Expected Behavior
- tooltip正常显示
Environment
- OS: macOS Monterey
- Browser: Chrome 98.0.4758.102
- Framework:
Any additional comments?
No response
@jingping-ye It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗
TRANSLATED
TITLE
How to draw multiple custom polygons in a series
BODY
Version
5
Link to Minimal Reproduction
https://codepen.io/vine101/pen/podLmdo
Steps to Reproduce
- Draw a series of irregular quadrilaterals consisting of four points
- After drawing, you can interact with each point to oltip
Current Behavior
- Data affects the calculated canvas coordinates, and the last tooltip shows the coordinates
Expected Behavior
- Tooltip is displayed normally
Environment
- OS: macOS Monterey
- Browser: Chrome 98.0.4758.102
- Framework:
Any additional comments?
No response
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!