From 61f34b70603e2c3a9621e63e15a751d51ffaccbc Mon Sep 17 00:00:00 2001 From: Neil Davies Date: Thu, 5 Sep 2024 18:06:41 +0100 Subject: [PATCH] feat: add bar chart view template Refs: #31 --- src/views/templates/bar.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/views/templates/bar.php diff --git a/src/views/templates/bar.php b/src/views/templates/bar.php new file mode 100644 index 0000000..120765d --- /dev/null +++ b/src/views/templates/bar.php @@ -0,0 +1,28 @@ + $id, + 'datasets' => $dataset, + 'type' => Chart::TYPE_BAR, + 'clientOptions' => $clientOptions, +]);