echarts-bot[bot] commented on issue #17299:
URL: https://github.com/apache/echarts/issues/17299#issuecomment-1170956504
@1836661896 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. 🤗
<details><summary><b>TRANSLATED</b></summary><br>
**TITLE**
[Bug] Can't get coordinates when using extendShape custom component
**BODY**
### Version
5.3.3
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
Create an extendShape custom style
Build an echart chart
Customize with series custom
RenderItem in the incoming shape:{
x: api.value(0),
y: api.value(1),
width: api.value(3),
height: api.value(4)
},
According to the content on the document, the parameter is the x and y axes
of the coordinates and the width and height, but the obtained 0 and 1 are the
values in the data, and 2 and 3 are NaN
### Current Behavior
According to the results of the online search, api originally should have a
method for coord to calculate the coordinates of x and y based on the value,
the latest version does not have this method, hoping to be reintroduced
### Expected Behavior
According to the results of the online search, api originally should have a
method for coord to calculate the coordinates of x and y based on the value,
the latest version does not have this method, hoping to be reintroduced
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
</details>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]