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/11/13 10:32:05 UTC

[GitHub] [incubator-echarts] zhpeh opened a new issue #13616: How can I display curved labels in a pie/doughnut chart?

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


   ### What problem does this feature solve?
   Hi,
   
   I have a nested pie chart with long label names. I prefer to display the labels 'inside' instead of 'outside', but the text is extending outside the pie area. I understand that I can use formatter to add line breaks, or rotate the text. However, I would prefer to display the labels as curved labels, depending on the shape of the pie chart.
   
   How can I achieve this?
   
   Appreciate your help! Thank you!
   
   ### What does the proposed API look like?
   Perhaps something like this?
   
   label: {
        position: 'inner',
        rotate: 'auto'
   },
   
   <!-- 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] zhpeh commented on issue #13616: How can I display curved labels in a pie/doughnut chart?

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


   I see, thanks for the clarification! Appreciate if your team can look into this as I believe it will benefit other users as well.
   
   Could you keep me posted if there's updates on this request? I will stick to using "outside" labels for now.


----------------------------------------------------------------
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] pissang commented on issue #13616: How can I display curved labels in a pie/doughnut chart?

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


   @zhpeh Sure


----------------------------------------------------------------
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] zhpeh commented on issue #13616: How can I display curved labels in a pie/doughnut chart?

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


   Hi,
   
   Appreciate if someone can guide me on this. Basically I just want to know if it is possible for me to rotate the label display of my pie chart, based on the curvature of the pie chart so that it fits nicely within the pie. 
   
   Thanks.


----------------------------------------------------------------
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] pissang commented on issue #13616: How can I display curved labels in a pie/doughnut chart?

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


   Thanks, curved text is not supported natively by canvas. So we may need time to think about how to implement it perfectly.


----------------------------------------------------------------
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] zhpeh commented on issue #13616: How can I display curved labels in a pie/doughnut chart?

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


   Sure, please refer to this [image](https://drive.google.com/file/d/16L8XK_cvSbX4NXxgCdTOraho7BnMzsL1/view?usp=sharing)


----------------------------------------------------------------
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 #13616: How can I display curved labels in a pie/doughnut chart?

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


   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] [incubator-echarts] pissang commented on issue #13616: How can I display curved labels in a pie/doughnut chart?

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


   @zhpeh Hi, do you mind giving us a reference example picture?


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