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/06/26 23:43:25 UTC

[GitHub] [echarts] ParachainsDev opened a new issue, #17283: [Bug] if "series-pie.label.overflow=break" it breaks "by character" instead of "by word"

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

   ### Version
   
   5.3.0+
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   series: [
   
                   {
                       type: 'pie',
                       id: 'pie',
                       radius: '40%',
                       center: ['50%', '50%'],
   
   
                       emphasis: {
                           focus: 'self'
                       },
                       label: {
                           formatter: '{b}\n{@current}%',
                           overflow: 'break'                        
                       }
                   }
               ]
   
   ### Current Behavior
   
   overflow: 'break' for pie series label breaks by character instead of by word  
   
   ### Expected Behavior
   
   overflow: 'break' for pie series label should break by word.
   
   ### Environment
   
   ```markdown
   - OS: Windows 10
   - Browser: Chrome
   - Framework: Javascript
   ```
   
   
   ### 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] Ovilia commented on issue #17283: [Bug] if "series-pie.label.overflow=break" it breaks "by character" instead of "by word"

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

   Please provide the data to reproduce the problem.


-- 
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] echarts-bot[bot] commented on issue #17283: [Bug] if "series-pie.label.overflow=break" it breaks "by character" instead of "by word"

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

   @ParachainsDev Please provide a demo for the issue either with [Official Editor](https://echarts.apache.org/examples/editor.html), [CodePen](https://codepen.io/Ovilia/pen/dyYWXWM), [CodeSandbox](https://codesandbox.io/s/echarts-basic-example-template-mpfz1s) or [JSFiddle](https://jsfiddle.net/plainheart/e46ozpqj/7/).


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