getPercent method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
getPercent()
Gets the value of this cell as a percentage of the total. Might be more than 100% if this is an average.
Version history
Version state | Details |
---|---|
Introduced | 2.1 |
Parameters
None.
Example
<div class="bar" style="width:{{row.measures[0].getPercent()}}%">