|
|
@@ -20,7 +20,7 @@ $(function() {
|
|
|
object.options.plugins.datalabels.formatter = function(value, context) {
|
|
|
let suffix = object.options.datalabelSuffixes[context.datasetIndex];
|
|
|
|
|
|
- if(suffix != "%" && value != 1) {
|
|
|
+ if(suffix.length > 2 && value != 1) {
|
|
|
suffix += "s";
|
|
|
}
|
|
|
|