You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/10/08 09:14:00 UTC
[GitHub] [echarts] zhiqingchen opened a new issue, #17735: [Bug] RadialGradient backgroundColor can't render by svg
zhiqingchen opened a new issue, #17735:
URL: https://github.com/apache/echarts/issues/17735
### Version
5.4.0
### Link to Minimal Reproduction
https://echarts.apache.org/examples/zh/editor.html?c=bubble-gradient
### Steps to Reproduce
1. add RadialGradient background
```js
option = {
backgroundColor: new echarts.graphic.RadialGradient(0.3, 0.3, 0.8, [
{
offset: 0,
color: '#f7f8fa'
},
{
offset: 1,
color: '#cdd0d5'
}
]),
}
```
2. use svg render
3. result
### Current Behavior
<img width="822" alt="image" src="https://user-images.githubusercontent.com/1876158/194699888-a3fa5b8c-55f7-461e-ab0a-6a0d05e10ee9.png">
### Expected Behavior
<img width="834" alt="image" src="https://user-images.githubusercontent.com/1876158/194699900-ccb5d0e7-d392-4f7c-90c6-675a7f1fa2ff.png">
### Environment
```markdown
- OS:macOS Monterey
- Browser:Chrome 96.0.4664.55
- Framework:no
```
### 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] plainheart closed issue #17735: [Bug] RadialGradient backgroundColor can't render by svg
Posted by GitBox <gi...@apache.org>.
plainheart closed issue #17735: [Bug] RadialGradient backgroundColor can't render by svg
URL: https://github.com/apache/echarts/issues/17735
--
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] koliharesh commented on issue #17735: [Bug] RadialGradient backgroundColor can't render by svg
Posted by GitBox <gi...@apache.org>.
koliharesh commented on issue #17735:
URL: https://github.com/apache/echarts/issues/17735#issuecomment-1273488249
Hello Sir/Madam, I would like to contribute in your project to solve this issue.
--
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] plainheart commented on issue #17735: [Bug] RadialGradient backgroundColor can't render by svg
Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #17735:
URL: https://github.com/apache/echarts/issues/17735#issuecomment-1272276150
SVG renderer only supports setting a color string as the background now. This feature is in progress and may be supported in future releases. See also the [svg-background](https://github.com/ecomfe/zrender/tree/svg-background) branch.
--
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