From a723dac74c3685e0a23a0cc51cf50ab30eb53c47 Mon Sep 17 00:00:00 2001 From: Ludovic SMADJA Date: Fri, 5 Jun 2020 14:07:48 +0200 Subject: [PATCH] add none render type --- src/chartjs-plugin-labels.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/chartjs-plugin-labels.js b/src/chartjs-plugin-labels.js index 7a646d7..a0d2849 100644 --- a/src/chartjs-plugin-labels.js +++ b/src/chartjs-plugin-labels.js @@ -201,6 +201,9 @@ }); } else { switch (this.options.render) { + case 'none': + label = ''; + break; case 'value': label = dataset.data[index]; break;