summaryrefslogtreecommitdiff
path: root/app/bits/assets/graph.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2022-11-11 23:47:49 +0100
committerMinteck <contact@minteck.org>2022-11-11 23:47:49 +0100
commit209356b8ade1920b50d1d3a1a5e121c6623d167b (patch)
tree5301396987d1510f715a0b1c24754873af19e1dc /app/bits/assets/graph.js
parent2c4ae43e688a9873e86211ea0e7aeb9ba770dd77 (diff)
downloadpluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.gz
pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.tar.bz2
pluralconnect-209356b8ade1920b50d1d3a1a5e121c6623d167b.zip
Update
Diffstat (limited to 'app/bits/assets/graph.js')
-rwxr-xr-xapp/bits/assets/graph.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/app/bits/assets/graph.js b/app/bits/assets/graph.js
deleted file mode 100755
index 0503b99..0000000
--- a/app/bits/assets/graph.js
+++ /dev/null
@@ -1,34 +0,0 @@
-const ctx = document.getElementById('graph-display').getContext('2d');
-const graph = new Chart(ctx, {
- type: 'line',
- data: {
- labels: [],
- datasets: [{
- label: 'Balance',
- data: [],
- borderColor: 'rgba(153, 102, 255, 1)',
- fill: false,
- },
- {
- label: 'Trendline',
- data: [],
- borderColor: 'rgba(153, 102, 255, .5)',
- borderDash: [5],
- pointRadius: 0,
- fill: false,
- }]
- },
- options: {
- scales: {
- y: {
- beginAtZero: true
- }
- },
- scaleLabel: "<%=value%>%",
- plugins: {
- legend: {
- display: false
- }
- }
- }
-}); \ No newline at end of file