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 2021/03/04 10:10:29 UTC

[GitHub] [echarts] zpinocchio opened a new issue #14399: Text outside color become white when it at another series with shape and color

zpinocchio opened a new issue #14399:
URL: https://github.com/apache/echarts/issues/14399


   ### Version
   5.0.2
   
   ### Steps to reproduce
   I create two custom series,one for shape with color and one for text label.
   
   
   
   function renderItemText(params, api) {
                           var point = [];
                           point = api.coord([api.value(0),api.value(1)]);
                           return {
                               type: 'circle',
                               // transition: ['shape'],
                               shape: {
                                   cx: point[0],
                                   cy: point[1],
                                   r:0,
                               },
                               textContent: {
                                   style: {
                                       text: api.value(2),
                                       fontSize: 10,
                                       shadowColor:'#000',
                                   }
                               },
                               textConfig: {
                                   position: 'bottom'
                               },
                               style: api.style({
                                   // opacity: 1,
                               }),
                           };
                       }
   
                
    function renderItemEllipse(params, api) {
                           var point = [];
                           point = api.coord([api.value(0),api.value(1)]);
                           let r = api.size([1,1])[1] * api.value(2)
                           let unit = api.size([1,1])[1]
                           return {
                               type: 'circle',
                               // transition: ['shape'],
                               shape: {
                                   cx: point[0],
                                   cy: point[1],
                                   r: r,
                               },
                               style: api.style({
                                   // fill: color,
                                   // stroke: echarts.color.lift(color),
                                   opacity: 0.7,
                               }),
                               scaleY:0.5,
                               x:api.value(3)*unit,
                               y:api.value(4)*unit,
                               rotation:api.value(5),
                               // scaleX:0.2,
                               originX:point[0],
                               originY:point[1],
                           };
                       }
   
   ### What is expected?
   The text outside become white 
   
   ### What is actually happening?
   still black
   
   ---
   when I add z :-1 to option of TextSeries,the text color become normal but slur
   
   <!-- 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] [echarts] zpinocchio commented on issue #14399: Text outside color become white when it at another series with shape and color

Posted by GitBox <gi...@apache.org>.
zpinocchio commented on issue #14399:
URL: https://github.com/apache/echarts/issues/14399#issuecomment-790499821


   It is want
   ![TDYG1OO`HXTHE4VLRPEB8HB](https://user-images.githubusercontent.com/49098424/109948172-06fd9780-7d15-11eb-8ff9-bc769189d828.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.

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] zpinocchio commented on issue #14399: Text outside color become white when it at another series with shape and color

Posted by GitBox <gi...@apache.org>.
zpinocchio commented on issue #14399:
URL: https://github.com/apache/echarts/issues/14399#issuecomment-790500919


   The outside color become white, other text still normal
   ![Z2IOQVB1MAOIVT(Q{BMR2K0](https://user-images.githubusercontent.com/49098424/109948560-69569800-7d15-11eb-8f30-17639591d493.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.

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 #14399: Text outside color become white when it at another series with shape and color

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


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 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] [echarts] zpinocchio commented on issue #14399: Text outside color become white when it at another series with shape and color

Posted by GitBox <gi...@apache.org>.
zpinocchio commented on issue #14399:
URL: https://github.com/apache/echarts/issues/14399#issuecomment-790501915


   zlevel :-1
   ![G4 ONAKB01IET8HNMUT0QIU](https://user-images.githubusercontent.com/49098424/109948936-c3575d80-7d15-11eb-98b5-92fae0c39620.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.

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] zpinocchio closed issue #14399: Text outside color become white when it at another series with shape and color

Posted by GitBox <gi...@apache.org>.
zpinocchio closed issue #14399:
URL: https://github.com/apache/echarts/issues/14399


   


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