Posted 1 April 2019, 8:44 pm EST
Hi there,
Is there an easy way to add text to the middle of a pie in donut mode? It seems like an obvious thing to want to do, but i cannot see anything in your help. Thanks.
Forums Home / Wijmo / General Discussion
Posted by: marcus.nixon on 1 April 2019, 8:44 pm EST
Posted 1 April 2019, 8:44 pm EST
Hi there,
Is there an easy way to add text to the middle of a pie in donut mode? It seems like an obvious thing to want to do, but i cannot see anything in your help. Thanks.
Posted 2 April 2019, 9:51 pm EST
Hello,
We are sorry but there isn’t direct way to add text at the center of the pie chart. We need to manually add the text in the rendered event. Please refer to the sample below:
Posted 3 April 2019, 7:59 pm EST
Ok, thanks. I’d already come up with pretty much the same solution as you i.e. measure the group bounds and then add in the Rendered event.
Posted 28 October 2019, 8:20 am EST
Wish you would add direct support for this!
Posted 29 October 2019, 7:05 pm EST
Hi Paul,
We have added an enhancement request for the same with internal tracking id 403704. We will give you an update as soon as we will hear from the dev team.
Regards,
Ashwin
Posted 22 January 2020, 8:21 pm EST
Hi Paul,
A new property, innerText, has been added to the FlexPie in the latest version (5.20193.646), which can be used to add text in the center of FlexPie.
~regards