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/03/18 02:39:53 UTC
[GitHub] [echarts] Yijx opened a new issue #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Yijx opened a new issue #16697:
URL: https://github.com/apache/echarts/issues/16697
### What problem does this feature solve?
请问如何配置progress的itemStyle的color的渐变能达到如下效果
<img width="584" alt="image" src="https://user-images.githubusercontent.com/30200703/158927120-8e8fbb49-54a0-4ba6-b084-e22b3a2580ff.png">
### What does the proposed API look like?
//
--
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] Yijx closed issue #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Posted by GitBox <gi...@apache.org>.
Yijx closed issue #16697:
URL: https://github.com/apache/echarts/issues/16697
--
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] Yijx commented on issue #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Posted by GitBox <gi...@apache.org>.
Yijx commented on issue #16697:
URL: https://github.com/apache/echarts/issues/16697#issuecomment-1080913715
> @Yijx 能讲下是怎么拼出来的吗?目前的Echarts的线性渐变和径向渐变都是基于Zrender本身已有的渐变功能,如果需要实现圆锥渐变似乎需要Zrender本身支持这个功能?
https://juejin.cn/post/6844903908335157262 基本上是参考了这个的实现
--
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] Yijx commented on issue #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Posted by GitBox <gi...@apache.org>.
Yijx commented on issue #16697:
URL: https://github.com/apache/echarts/issues/16697#issuecomment-1074777493
> 似乎需要 conic gradient 圆锥渐变才能实现此类效果,暂时还不支持。
好的,谢谢,曲线救国,用100弧长拼成了这个效果
<img width="369" alt="image" src="https://user-images.githubusercontent.com/30200703/159418872-2ef06c82-4540-497f-b96e-f40f281b9b53.png">
--
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] echarts-bot[bot] commented on issue #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16697:
URL: https://github.com/apache/echarts/issues/16697#issuecomment-1071969972
@Yijx 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**
How does the dashboard's progress bar configure a gradient from dark to shallow? gauge progress LinearGradient
**BODY**
### What problem does this feature solve?
Please ask how to configure the gradient of the itemStyle of progress to achieve the following effects
<img width="584" alt="image" src="https://user-images.githubusercontent.com/30200703/158927120-8e8fbb49-54a0-4ba6-b084-e22b3a2580ff.png">
### What does the proposed API look like?
//
</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] echarts-bot[bot] commented on issue #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #16697:
URL: https://github.com/apache/echarts/issues/16697#issuecomment-1071969972
@Yijx 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**
How does the dashboard's progress bar configure a gradient from dark to shallow? gauge progress LinearGradient
**BODY**
### What problem does this feature solve?
Please ask how to configure the gradient of the itemStyle of progress to achieve the following effects
<img width="584" alt="image" src="https://user-images.githubusercontent.com/30200703/158927120-8e8fbb49-54a0-4ba6-b084-e22b3a2580ff.png">
### What does the proposed API look like?
//
</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] plainheart commented on issue #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #16697:
URL: https://github.com/apache/echarts/issues/16697#issuecomment-1071988088
设置 [`progress.itemStyle.color`](https://echarts.apache.org/option.html#series-gauge.progress.itemStyle.color) 为[渐变色](https://echarts.apache.org/option.html#color)。
--
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] Yijx commented on issue #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Posted by GitBox <gi...@apache.org>.
Yijx commented on issue #16697:
URL: https://github.com/apache/echarts/issues/16697#issuecomment-1073477220
> 设置 [`progress.itemStyle.color`](https://echarts.apache.org/option.html#series-gauge.progress.itemStyle.color) 为[渐变色](https://echarts.apache.org/option.html#color)。
感谢。不过线性渐变好像无法完成该效果
--
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 #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #16697:
URL: https://github.com/apache/echarts/issues/16697#issuecomment-1071988088
设置 [`progress.itemStyle.color`](https://echarts.apache.org/option.html#series-gauge.progress.itemStyle.color) 为[渐变色](https://echarts.apache.org/option.html#color)。
--
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] jiawulin001 commented on issue #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Posted by GitBox <gi...@apache.org>.
jiawulin001 commented on issue #16697:
URL: https://github.com/apache/echarts/issues/16697#issuecomment-1074883998
@Yijx 能讲下是怎么拼出来的吗?目前的Echarts的线性渐变和径向渐变都是基于Zrender本身已有的渐变功能,如果需要实现圆锥渐变似乎需要Zrender本身支持这个功能?
--
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 #16697: 仪表盘的进度条如何配置由深到浅的渐变?gauge progress LinearGradient
Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #16697:
URL: https://github.com/apache/echarts/issues/16697#issuecomment-1073869598
似乎需要 conic gradient 圆锥渐变才能实现此类效果,暂时还不支持。
--
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