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/07/08 10:25:56 UTC

[GitHub] [incubator-echarts] scemsjyd opened a new issue #12941: 柱状图设置渐变色,tooltip不显示

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


   ### Version
   4.8.0
   
   ### Steps to reproduce
   ```
   option = {
       tooltip: {
           trigger: 'axis',
           axisPointer: {
               type: 'shadow'
           }
       },
       color: [
           {
               type: 'linear',
               x: 0,
               y: 1,
               x2: 0,
               y2: 0,
               colorStops: [
                 {
                   offset: 0,
                   color: '#23DEFF01' // 0% 处的颜色
                 },
                 {
                   offset: 0.5,
                   color: '#23DEFF90' // 0% 处的颜色
                 },
                 {
                   offset: 1,
                   color: '#23DEFF' // 100% 处的颜色
                 }
               ],
               globalCoord: false // 缺省为 false
             }],
       xAxis: {
           type: 'category',
           data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
       },
       yAxis: {
           type: 'value'
       },
       series: [{
           data: [120, 200, 150, 80, 70, 110, 130],
           type: 'bar',
       }]
   };
   ```
   ### What is expected?
   tooltip中正常显示颜色
   
   ### What is actually happening?
   没有
   
   <!-- This issue is generated by echarts-issue-helper. 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 #12941: 柱状图设置渐变色,tooltip不显示

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


   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] quillblue commented on issue #12941: 柱状图设置渐变色,tooltip不显示

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


   Tooltip目前被设置为显示0%处的颜色,这个例子里面0%处刚好是透明色。
   对于过渡色的series在tooltip里显示的legend是否应该也是同样的过渡色,个人认为不一定适合 但可能社区里会有不同的主意。


----------------------------------------------------------------
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] scemsjyd commented on issue #12941: 柱状图设置渐变色,tooltip不显示

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


   > Tooltip目前被设置为显示0%处的颜色,这个例子里面0%处刚好是透明色。
   > 对于过渡色的series在tooltip里显示的legend是否应该也是同样的过渡色,个人认为不一定适合 但可能社区里会有不同的主意。
   
   感谢你解答,谢谢。


----------------------------------------------------------------
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