summaryrefslogtreecommitdiff
path: root/app/bits/assets
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-10-10 20:51:39 +0200
committerMinteck <contact@minteck.org>2022-10-10 20:51:39 +0200
commit108525534c28013cfe1897c30e4565f9893f3766 (patch)
treedd3e5132971f96ab5f05e7f3f8f6dbbf379a19bd /app/bits/assets
parent2162eaa06f7e4764eb3dcfe130ec2c711d0c62ab (diff)
downloadpluralconnect-108525534c28013cfe1897c30e4565f9893f3766.tar.gz
pluralconnect-108525534c28013cfe1897c30e4565f9893f3766.tar.bz2
pluralconnect-108525534c28013cfe1897c30e4565f9893f3766.zip
Update
Diffstat (limited to 'app/bits/assets')
-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
}
}
}