X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=js%2Fsrc%2Fgraph%2FTestGraph.js;fp=js%2Fsrc%2Fgraph%2FTestGraph.js;h=0000000000000000000000000000000000000000;hb=f9b3af44af6897b286de0674bc9a919c689ff64e;hp=9cc67db4fa4061561fe3ba53bab78c12cb73db17;hpb=711408cc603c2ebe21f8b825456bcbbe59e02f70;p=gpl%2Fargeo-suite.git diff --git a/js/src/graph/TestGraph.js b/js/src/graph/TestGraph.js deleted file mode 100644 index 9cc67db..0000000 --- a/js/src/graph/TestGraph.js +++ /dev/null @@ -1,27 +0,0 @@ -import Chart from 'chart.js/auto'; - -export default class TestGraph { - - init() { - const ctx = document.getElementById('myChart'); - - new Chart(ctx, { - type: 'bar', - data: { - labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'], - datasets: [{ - label: '# of Votes', - data: [12, 19, 3, 5, 2, 3], - borderWidth: 1 - }] - }, - options: { - scales: { - y: { - beginAtZero: true - } - } - } - }); - } -}