Skip to Content
Mar 21 at 02:37 PM

How to show text inside a pie chart

66 Views Last edit Jul 14 at 07:20 AM 3 rev

Hi All,

I am showing a Pie chart in SAP UI5 using viz frame with 2 values (Complete and Incomplete status). So there will be maximum of 2 slices of Pie (one with complete status and other with incomplete status). If there is no incomplete status, so here it will be only one slice of pie (complete status). I want to display some text inside the pie but the text isnt showed inside. Can you please let me know, is there any other way to achieve this. Thanks

Code in View

Code in JS


graph.jpg (20.1 kB)
graph-view.jpg (117.1 kB)
graph-js.jpg (75.5 kB)