Page 1 of 1

How to display more than 100 % in donut

Posted: Mon May 06, 2019 4:39 pm
by diwakarnitw
I would like to display component utilization in donut component. Utilization can go beyond 100% like storage virtualization/compute virtualization scenario. IT shows 0 whenever donut data-value percent goes above 100. How to display a percent value more than 100. Thanks.

Re: How to display more than 100 % in donut

Posted: Tue May 07, 2019 1:41 pm
by olton
https://metroui.org.ua/donut.html#_donut_options

Code: Select all

<div id="donut1" data-role="donut" data-value="135" data-total='1000' data-show-value="true"></div>

Re: How to display more than 100 % in donut

Posted: Wed May 08, 2019 4:52 am
by diwakarnitw
Thanks for the response but it shows only 13.5% utilized in donut and total value 135%. It does not represent correctly chart. Am I missing something?