„Show values as“ with options: mode, decimals, own text.
ColumnDef.create({ property: "total", headerLabel: "Share", showValuesAs: { mode: "percentOfColumnTotal", fractionDigits: 2 } // "66.70%"}); Copy
ColumnDef.create({ property: "total", headerLabel: "Share", showValuesAs: { mode: "percentOfColumnTotal", fractionDigits: 2 } // "66.70%"});
1.1.95
Optional
An own text of the shown value (a fraction for percentages, e.g. 0.667). Text only – never HTML.
0.667
Decimals of the text. Default: 1 for percentages, at most 2 otherwise, 0 for rank.
rank
The mode.
„Show values as“ with options: mode, decimals, own text.
Example
Since
1.1.95