echarts icon indicating copy to clipboard operation
echarts copied to clipboard

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

Open jingping-ye opened this issue 3 years ago • 2 comments

Version

5

Link to Minimal Reproduction

https://codepen.io/vine101/pen/podLmdo

Steps to Reproduce

  1. 绘制一系列由四个点组成的不规则四边形
  2. 绘制后可以与每个点进行tooltip交互

Current Behavior

  1. data影响计算的画布坐标,最后tooltip显示的是坐标

Expected Behavior

  1. tooltip正常显示

Environment

- OS: macOS Monterey
- Browser: Chrome 98.0.4758.102
- Framework:

Any additional comments?

No response

jingping-ye avatar Feb 21 '22 09:02 jingping-ye

@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

  1. Draw a series of irregular quadrilaterals consisting of four points
  2. After drawing, you can interact with each point to oltip

Current Behavior

  1. Data affects the calculated canvas coordinates, and the last tooltip shows the coordinates

Expected Behavior

  1. Tooltip is displayed normally

Environment

- OS: macOS Monterey
- Browser: Chrome 98.0.4758.102
- Framework:

Any additional comments?

No response

echarts-bot[bot] avatar Feb 21 '22 09:02 echarts-bot[bot]

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.

github-actions[bot] avatar Feb 22 '24 21:02 github-actions[bot]

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!

github-actions[bot] avatar Feb 29 '24 21:02 github-actions[bot]