You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "crazyxhz (via GitHub)" <gi...@apache.org> on 2023/05/11 04:11:20 UTC

[GitHub] [echarts] crazyxhz opened a new issue, #18610: [Bug] make pie label color match slice color

crazyxhz opened a new issue, #18610:
URL: https://github.com/apache/echarts/issues/18610

   ### Version
   
   5.5.2
   
   ### Link to Minimal Reproduction
   
   https://codepen.io/crazyxhz/pen/XWxqVgy
   
   ### Steps to Reproduce
   
   https://codepen.io/crazyxhz/pen/XWxqVgy
   
   
   ### Current Behavior
   
   in not hovered, label color is using the first pie's color
   
   ### Expected Behavior
   
   label color using corresponding pie's color
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### 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] crazyxhz commented on issue #18610: [Bug] make pie label color match slice color

Posted by "crazyxhz (via GitHub)" <gi...@apache.org>.
crazyxhz commented on issue #18610:
URL: https://github.com/apache/echarts/issues/18610#issuecomment-1543381945

   > Remove the color callback function in the `rich` option and add `color: 'inherit'` into the `label` option.
   
   THANKS it worked. May be we can put this in the docs: https://echarts.apache.org/zh/option.html#series-pie.label.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 #18610: [Bug] make pie label color match slice color

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #18610:
URL: https://github.com/apache/echarts/issues/18610#issuecomment-1543368922

   Remove the color callback function in the `rich` option and add `color: 'inherit'` into the `label` option.


-- 
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] crazyxhz closed issue #18610: [Bug] make pie label color match slice color

Posted by "crazyxhz (via GitHub)" <gi...@apache.org>.
crazyxhz closed issue #18610: [Bug] make pie label color match slice color
URL: https://github.com/apache/echarts/issues/18610


-- 
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 #18610: [Bug] make pie label color match slice color

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #18610:
URL: https://github.com/apache/echarts/issues/18610#issuecomment-1543437626

   @crazyxhz Thanks for your tip. I've added it to the documentation and updated the website. https://github.com/apache/echarts-doc/commit/d9372b1b0233254c0d8b62c389276bc16fed4334


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