Open yuxuejiao opened 1 year ago
hello i want to work on this so please give me permission to fix this problem.....
@vikas-6 Feel free to solve this issue, you don't need a permission
https://codepen.io/VIKAS-KUMAR-the-vuer/pen/NWEpdOY ----------- I fixed it now it show {d}% in charts correctly....
@vikas-6 Thank you for this amazing fix. It does work. But it would be awesome if you can round it to 2 decimals like in the other charts.
Version
5.4.2
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=sunburst-borderRadius
Steps to Reproduce
add formatter in sunburst label in the following link: option = { series: { type: 'sunburst', data: data, radius: [60, '90%'], itemStyle: { borderRadius: 7, borderWidth: 2 }, label: { show: true, formatter: '{b}: {d}%', } } };
Current Behavior
cannot show {d}% in chart
Expected Behavior
show {d}% in charts correctly
Environment
Any additional comments?
No response