DearMrJ opened a new issue #14714:
URL: https://github.com/apache/echarts/issues/14714
### What problem does this feature solve?
The distribution of the scatter map corresponds to the position on the
background image which I generated
### What does the proposed API look like?
option: {
grid: { backgroundColor: ..},
backgroundColor:..,
graphic: {
style: {
type: 'image',
...
style: { image: ...,
x: instance.grid._rect.x, // offsetX
y: instance.grid._rect.y, // offsetY
width: instance.convertToPixel({grid:..}, [max(x), 0][0] - offsetX)
height: instance.convertToPixel({grid:..}, [max(x), 0][1] -
offsetY)}
}
}
}
↑
I have try these three attrs in different time, but none of them could work
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]