diff options
author | Minteck <contact@minteck.org> | 2022-10-10 20:51:39 +0200 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2022-10-10 20:51:39 +0200 |
commit | 108525534c28013cfe1897c30e4565f9893f3766 (patch) | |
tree | dd3e5132971f96ab5f05e7f3f8f6dbbf379a19bd /app/bits/assets | |
parent | 2162eaa06f7e4764eb3dcfe130ec2c711d0c62ab (diff) | |
download | pluralconnect-108525534c28013cfe1897c30e4565f9893f3766.tar.gz pluralconnect-108525534c28013cfe1897c30e4565f9893f3766.tar.bz2 pluralconnect-108525534c28013cfe1897c30e4565f9893f3766.zip |
Update
Diffstat (limited to 'app/bits/assets')
-rwxr-xr-x | app/bits/assets/graph.js | 11 |
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 } } } |