You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "candy4290 (via GitHub)" <gi...@apache.org> on 2023/03/29 09:39:01 UTC
[GitHub] [echarts] candy4290 opened a new issue, #18444: [Bug] handleIcon自定义为base64,图片会在再次调用setOption或者resize时,高度被拉伸
candy4290 opened a new issue, #18444:
URL: https://github.com/apache/echarts/issues/18444
### Version
5.4.2
### Link to Minimal Reproduction
https://codesandbox.io/s/gifted-dirac-z8q7u5?file=/src/index.js
### Steps to Reproduce
setTimeout(() => {
chart.resize();
console.log("---");
}, 2000);
打开页面,2秒后调用resize,发现handleIcon高度被拉绳
### Current Behavior
打开页面,2秒后调用resize,发现handleIcon高度被拉绳
### Expected Behavior
自定义的handleIcon图片高度永远不会变形
### Environment
```markdown
- OS:window10
- Browser: Chrome 111.0.5563.65
- Framework: just normal js
```
### Any additional comments?
_No response_
--
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: commits-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] echarts-bot[bot] commented on issue #18444: [Bug] handleIcon自定义为base64,图片会在再次调用setOption或者resize时,高度被拉伸
Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #18444:
URL: https://github.com/apache/echarts/issues/18444#issuecomment-1488270918
@candy4290 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] handleIcon is customized to base64, and the image will be stretched in height when setOption or resize is called again
**BODY**
### Version
5.4.2
### Link to Minimal Reproduction
https://codesandbox.io/s/gifted-dirac-z8q7u5?file=/src/index.js
### Steps to Reproduce
setTimeout(() => {
chart. resize();
console.log("---");
}, 2000);
Open the page, call resize after 2 seconds, and find that the height of handleIcon is pulled by the rope
### Current Behavior
Open the page, call resize after 2 seconds, and find that the height of handleIcon is pulled by the rope
### Expected Behavior
The height of the custom handleIcon image will never be deformed
### Environment
```markdown
-OS:window10
- Browser: Chrome 111.0.5563.65
- Framework: just normal js
```
### 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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] candy4290 commented on issue #18444: [Bug] handleIcon自定义为base64,图片会在再次调用setOption或者resize时,高度被拉伸
Posted by "candy4290 (via GitHub)" <gi...@apache.org>.
candy4290 commented on issue #18444:
URL: https://github.com/apache/echarts/issues/18444#issuecomment-1488283272
maybe the img size's problem?
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] candy4290 closed issue #18444: [Bug] handleIcon自定义为base64,图片会在再次调用setOption或者resize时,高度被拉伸
Posted by "candy4290 (via GitHub)" <gi...@apache.org>.
candy4290 closed issue #18444: [Bug] handleIcon自定义为base64,图片会在再次调用setOption或者resize时,高度被拉伸
URL: https://github.com/apache/echarts/issues/18444
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] Ovilia commented on issue #18444: [Bug] handleIcon自定义为base64,图片会在再次调用setOption或者resize时,高度被拉伸
Posted by "Ovilia (via GitHub)" <gi...@apache.org>.
Ovilia commented on issue #18444:
URL: https://github.com/apache/echarts/issues/18444#issuecomment-1491199427
Please make your demo minimal. Remove all the data and options that is not necessary.
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] candy4290 commented on issue #18444: [Bug] handleIcon自定义为base64,图片会在再次调用setOption或者resize时,高度被拉伸
Posted by "candy4290 (via GitHub)" <gi...@apache.org>.
candy4290 commented on issue #18444:
URL: https://github.com/apache/echarts/issues/18444#issuecomment-1488395858
图片长度=宽度的时候就没有这个问题了~
--
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: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org