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 2020/09/25 02:58:54 UTC

[GitHub] [incubator-echarts] wxlaionangog opened a new issue #13342: On some models, the radar chart setting RGBA color does not work, and the display is gray (在部分机型上雷达图(radar)设置rgba颜色不生效显示为灰色 )

wxlaionangog opened a new issue #13342:
URL: https://github.com/apache/incubator-echarts/issues/13342


   ### Version
   4.9.0
   
   ### Steps to reproduce
   ```javascript
   const option = {
        ...
        series: [
            {
               name: '集团平均值',
               type: 'radar',
               symbol: 'none',
               color: 'rgba(75, 110, 223)',    // rgba
               silent: true,
               data: [companySeriesData]
             },
             {
               name: citySeriesData.name,
               type: 'radar',
               symbol: 'none',
               silent: true,
               color: 'rgba(255, 153, 0)',
               data: [citySeriesData]
             },
             {
               name: '低于平均值预警',
               type: 'radar',
               symbol: 'none',
               // areaStyle: {normal: {}},
               data: [
                 {
                   labelValue: [0, 0, 0, 0, 0, 0],
                   value: [0, 0, 0, 0, 0, 0],
                   symbol: 'none',
                   areaStyle: {
                     opacity: 0
                   },
                   animation: false,
                   name: '低于平均值预警'
                 }
               ]
             }
           ]
   }
   myChart.setOption(option);
   ```
   
   ### What is expected?
   Set RGBA color to display normally
   雷达图显示正常
   ![1601002575(1)](https://user-images.githubusercontent.com/30425222/94221507-d4f23900-ff1d-11ea-8f6a-5772c94c4f77.jpg)
   
   ### What is actually happening?
   The RGBA color of radar image is gray in millet red rice note 5
   (雷达图rgba颜色在小米红米note 5 显示为灰色)
   ![1601002502(1)](https://user-images.githubusercontent.com/30425222/94221411-a07e7d00-ff1d-11ea-89e2-e735954211eb.jpg)
   
   <!-- 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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13342: On some models, the radar chart setting RGBA color does not work, and the display is gray (在部分机型上雷达图(radar)设置rgba颜色不生效显示为灰色 )

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13342:
URL: https://github.com/apache/incubator-echarts/issues/13342#issuecomment-698692611


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] wxlaionangog commented on issue #13342: On some models, the radar chart setting RGBA color does not work, and the display is gray (在部分机型上雷达图(radar)设置rgba颜色不生效显示为灰色 )

Posted by GitBox <gi...@apache.org>.
wxlaionangog commented on issue #13342:
URL: https://github.com/apache/incubator-echarts/issues/13342#issuecomment-706820166


   是的, 使用rgba不带最后一个参数, 红米这款手机会出现灰色问题(其他测试机型正常展示), 添加上或使用rgb则不会出现问题


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] Ovilia commented on issue #13342: On some models, the radar chart setting RGBA color does not work, and the display is gray (在部分机型上雷达图(radar)设置rgba颜色不生效显示为灰色 )

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #13342:
URL: https://github.com/apache/incubator-echarts/issues/13342#issuecomment-699578147


   应该就是 @plainheart 说的这个问题,之所以其他机型上没问题,是有些浏览器做了兼容这种非标准的写法。建议用 `rgb` 或者 `rgba` 最后一个参数带 `1`。


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] plainheart commented on issue #13342: On some models, the radar chart setting RGBA color does not work, and the display is gray (在部分机型上雷达图(radar)设置rgba颜色不生效显示为灰色 )

Posted by GitBox <gi...@apache.org>.
plainheart commented on issue #13342:
URL: https://github.com/apache/incubator-echarts/issues/13342#issuecomment-699467371


   先纠正一个使用错误,`rgba`  应该传入4个参数,你这里似乎只传了3个,如果只是3个参数,用 `rgb` 即可。


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] wxlaionangog closed issue #13342: On some models, the radar chart setting RGBA color does not work, and the display is gray (在部分机型上雷达图(radar)设置rgba颜色不生效显示为灰色 )

Posted by GitBox <gi...@apache.org>.
wxlaionangog closed issue #13342:
URL: https://github.com/apache/incubator-echarts/issues/13342


   


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [incubator-echarts] echarts-bot[bot] commented on issue #13342: On some models, the radar chart setting RGBA color does not work, and the display is gray (在部分机型上雷达图(radar)设置rgba颜色不生效显示为灰色 )

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13342:
URL: https://github.com/apache/incubator-echarts/issues/13342#issuecomment-698692611


   Hi! We've received your issue and please be patient to get responded. 🎉
   The average response time is expected to be within one day for weekdays.
   
   In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
   
   If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
   
   If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
   
   Have a nice day! 🍵


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org