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/11/08 06:39:07 UTC

[GitHub] [echarts] Ovilia opened a new issue #16023: Pie chart rich labels overflow

Ovilia opened a new issue #16023:
URL: https://github.com/apache/echarts/issues/16023


   ### Version
   5.2.2
   
   ### Reproduction link
   [https://www.makeapie.com/editor.html?c=xWP6wufPiQ&v=2](https://www.makeapie.com/editor.html?c=xWP6wufPiQ&v=2)
   
   ### Steps to reproduce
   **Problem A: Label overflow**
   
   Set label to have big font size like 40 will show the overflow, even without rich text.
   
   ```
   label: {
       position: 'outer',
       alignTo: 'edge',
       margin: 20,
       fontSize: 40
   }
   ```
   
   ** Problem B: labelLine start position is wrong with rich text**
   
   Probably due to bounding box calculation error, the start position of the label is not as close as those without rich text. See the demo.
   
   ### What is expected?
   Problem A: Text should not overflow the canvas.
   Problem B: LabelLine start position should be near the text.
   
   ### What is actually happening?
   Problem A: Text overflows the canvas.
   Problem B: LabelLine start position is far from the right side of the text.
   
   <!-- 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.

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] pissang closed issue #16023: Pie chart rich labels overflow

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


   


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