summaryrefslogtreecommitdiff
path: root/app/bits/assets/graph.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/bits/assets/graph.js')
-rwxr-xr-xapp/bits/assets/graph.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/app/bits/assets/graph.js b/app/bits/assets/graph.js
index 908c2e9..0503b99 100755
--- a/app/bits/assets/graph.js
+++ b/app/bits/assets/graph.js
@@ -25,14 +25,9 @@ const graph = new Chart(ctx, {
}
},
scaleLabel: "<%=value%>%",
- legend: {
- display: false
- },
- tooltips: {
- callbacks: {
- label: function(tooltipItem, data) {
- return data.labels[tooltipItem.index] + ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index] + '€';
- }
+ plugins: {
+ legend: {
+ display: false
}
}
}