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
- OS: Windows 10
- Browser: Chrome
- Framework: Javascript
Any additional comments?
No response
2条答案
按热度按时间gtlvzcf81#
Please provide the data to reproduce the problem.
a1o7rhls2#
@ParachainsDev Please provide a demo for the issue either with Official Editor , CodePen , CodeSandbox or JSFiddle .