diff --git a/src/annotation.js b/src/annotation.js index cfc5db488..f33362103 100644 --- a/src/annotation.js +++ b/src/annotation.js @@ -20,9 +20,12 @@ export default { if (versionParts[0] === '3' && parseInt(versionParts[1], 10) <= 6) { // Workaround for https://github.com/chartjs/chartjs-plugin-annotation/issues/572 Chart.defaults.set('elements.lineAnnotation', { + // label callout: {}, font: {}, - padding: 6 + padding: 6, + // polygon + point: {}, }); } },