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/11/01 07:18:40 UTC

[GitHub] [echarts] domino2 opened a new issue, #17856: Allow to place the middle label into the centre of the chart

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

   ### What problem does this feature solve?
   
   When back button is not shown and the root node appear to be in the centre, the label is not centred in the circle but a side. 
   
   ### What does the proposed API look like?
   
   Maybe simple api to allow to appear automatically in the middle of the sunburst chart if there is no back button and it is a first node of the data.
   In my use case, the first item of the `option.levels` is empty structure as I don't want the back button at all.


-- 
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] dominikj111 commented on issue #17856: Allow to place the middle label into the centre of the sunburst chart

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

   I would like point that there is duplicate ticket to cover this as well, so it may be closed also
   https://github.com/apache/echarts/issues/16720


-- 
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] Ovilia commented on issue #17856: Allow to place the middle label into the centre of the chart

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

   You can use title or graphic.elements to draw the text.


-- 
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] domino2 commented on issue #17856: Allow to place the middle label into the centre of the chart

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

   I didn't want to draw the graphic element because it is the external way what I would like to avoid, if this is what you meant.
   But I'll use the title for this as the result is as what I'm looking for.
   Only flaw I see here is that I need to set the size of the text to match the size of the middle circle.
   [CodeSandbox](https://codesandbox.io/s/apache-sunburst-internal-centre-text-j5un1y


-- 
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] Ovilia commented on issue #17856: Allow to place the middle label into the centre of the chart

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

   Yes, this is the expected way to do this.


-- 
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] Ovilia closed issue #17856: Allow to place the middle label into the centre of the chart

Posted by GitBox <gi...@apache.org>.
Ovilia closed issue #17856: Allow to place the middle label into the centre of the chart
URL: https://github.com/apache/echarts/issues/17856


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