summaryrefslogtreecommitdiffstats
path: root/site/content/docs/5.3/examples/dashboard-rtl/dashboard.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--site/content/docs/5.3/examples/dashboard-rtl/dashboard.js (renamed from site/content/docs/5.2/examples/dashboard-rtl/dashboard.js)20
1 files changed, 8 insertions, 12 deletions
diff --git a/site/content/docs/5.2/examples/dashboard-rtl/dashboard.js b/site/content/docs/5.3/examples/dashboard-rtl/dashboard.js
index 96e0895..bdb3029 100644
--- a/site/content/docs/5.2/examples/dashboard-rtl/dashboard.js
+++ b/site/content/docs/5.3/examples/dashboard-rtl/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
+ }
}
}
})