4.3.0
https://codepen.io/daniellycosta/pen/MWWqxPr
It's just put a formatter using <br/> outside tooltip like in the example below
label: {
normal: {
show: false,
position: 'center'
},
emphasis: {
show: true,
formatter: "{b} <br/> {d}%",
textStyle: {
fontSize: '30',
fontWeight: 'bold',
}
}
}
break line
show <br/> tag
I tested using my application and using apache site example
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 and chart option 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 [email protected]. Please attach the issue link if it's a technical questions.
If you are interested in the project, you may also subscribe our mail list.
Have a nice day! 🍵
https://www.echartsjs.com/en/option.html#series-pie.emphasis.label.formatter
You can use \n to break line.
Most helpful comment
https://www.echartsjs.com/en/option.html#series-pie.emphasis.label.formatter
You can use
\nto break line.