diff --git a/package-lock.json b/package-lock.json index f21baba..c771f65 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,8 @@ "dependencies": { "@unovis/svelte": "^1.4.1", "@unovis/ts": "^1.4.1", - "chart.js": "^4.4.3" + "chart.js": "^4.4.4", + "chartjs": "^0.3.24" }, "devDependencies": { "@skeletonlabs/skeleton": "2.10.2", @@ -2685,9 +2686,10 @@ } }, "node_modules/chart.js": { - "version": "4.4.3", - "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.3.tgz", - "integrity": "sha512-qK1gkGSRYcJzqrrzdR6a+I0vQ4/R+SoODXyAjscQ/4mzuNzySaMCd+hyVxitSY1+L2fjPD1Gbn+ibNqRmwQeLw==", + "version": "4.4.4", + "resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.4.tgz", + "integrity": "sha512-emICKGBABnxhMjUjlYRR12PmOXhJ2eJjEHL2/dZlWjxRAZT1D8xplLFq5M0tMQK8ja+wBS/tuVEJB5C6r7VxJA==", + "license": "MIT", "dependencies": { "@kurkle/color": "^0.3.0" }, @@ -2695,6 +2697,12 @@ "pnpm": ">=8" } }, + "node_modules/chartjs": { + "version": "0.3.24", + "resolved": "https://registry.npmjs.org/chartjs/-/chartjs-0.3.24.tgz", + "integrity": "sha512-h6G9qcDqmFYnSWqjWCzQMeOLiypS+pM6Fq2Rj7LPty8Kjx5yHonwwJ7oEHImZpQ2u9Pu36XGYfardvvBiQVrhg==", + "license": "MIT" + }, "node_modules/chokidar": { "version": "3.6.0", "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", diff --git a/package.json b/package.json index d36f705..0fb3028 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "dependencies": { "@unovis/svelte": "^1.4.1", "@unovis/ts": "^1.4.1", - "chart.js": "^4.4.3" + "chart.js": "^4.4.4", + "chartjs": "^0.3.24" } } diff --git a/src/lib/components/graph/graph.svelte b/src/lib/components/graph/graph.svelte new file mode 100644 index 0000000..b642684 --- /dev/null +++ b/src/lib/components/graph/graph.svelte @@ -0,0 +1,31 @@ + + +
+ +
\ No newline at end of file diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 783be4c..9fcc724 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -2,6 +2,7 @@