From 0d236677d4854d7b66a0b8f242a4aa38700ae97d Mon Sep 17 00:00:00 2001 From: lubiana Date: Mon, 16 Jun 2025 19:05:29 +0200 Subject: [PATCH] add first chartychaaaaarrrt --- importmap.php | 11 ++++++-- templates/drink_type/show.html.twig | 42 +++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 2 deletions(-) diff --git a/importmap.php b/importmap.php index fbddf9e..d13ef46 100644 --- a/importmap.php +++ b/importmap.php @@ -1,7 +1,5 @@ '5.3.6', 'type' => 'css', ], + 'chart.js' => [ + 'version' => '4.5.0', + ], + '@kurkle/color' => [ + 'version' => '0.3.4', + ], + 'chart.js/auto' => [ + 'version' => '4.5.0', + ], ]; diff --git a/templates/drink_type/show.html.twig b/templates/drink_type/show.html.twig index 9531d0a..7801144 100644 --- a/templates/drink_type/show.html.twig +++ b/templates/drink_type/show.html.twig @@ -50,6 +50,48 @@ +
+
+
+
+
Example Chart
+
+
+ + +
+
+
+
+