diff options
Diffstat (limited to '')
-rw-r--r-- | site/content/docs/5.3/examples/dashboard/dashboard.js (renamed from site/content/docs/5.2/examples/dashboard/dashboard.js) | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/site/content/docs/5.2/examples/dashboard/dashboard.js b/site/content/docs/5.3/examples/dashboard/dashboard.js index e137975..a60b393 100644 --- a/site/content/docs/5.2/examples/dashboard/dashboard.js +++ b/site/content/docs/5.3/examples/dashboard/dashboard.js @@ -1,10 +1,8 @@ -/* globals Chart:false, feather:false */ +/* globals Chart:false */ (() => { 'use strict' - feather.replace({ 'aria-hidden': 'true' }) - // Graphs const ctx = document.getElementById('myChart') // eslint-disable-next-line no-unused-vars @@ -38,15 +36,13 @@ }] }, options: { - scales: { - yAxes: [{ - ticks: { - beginAtZero: false - } - }] - }, - legend: { - display: false + plugins: { + legend: { + display: false + }, + tooltip: { + boxPadding: 3 + } } } }) |