aboutsummaryrefslogtreecommitdiffstats
path: root/php/get-img-map.php
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2023-03-26 18:31:50 +0200
committerMaksymilian Jopek <maks@jopek.eu>2023-03-26 18:31:50 +0200
commit5aa7c4f9499135dd12162045e441f5215ee050aa (patch)
tree4f95f9f2daedb0053a0b6a95a8e354d76b3c115d /php/get-img-map.php
downloadcalendrier-menstruel-5aa7c4f9499135dd12162045e441f5215ee050aa.tar.gz
calendrier-menstruel-5aa7c4f9499135dd12162045e441f5215ee050aa.tar.zst
calendrier-menstruel-5aa7c4f9499135dd12162045e441f5215ee050aa.zip
Full working app
Diffstat (limited to 'php/get-img-map.php')
-rw-r--r--php/get-img-map.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/php/get-img-map.php b/php/get-img-map.php
new file mode 100644
index 0000000..1623fab
--- /dev/null
+++ b/php/get-img-map.php
@@ -0,0 +1,10 @@
+<?php
+require "get-data.php";
+require "generate-img-map.php";
+[$FX_DATA, $Y_DATA] = getChartData(true);
+$X_DATA = [];
+foreach ($FX_DATA as $xd) {
+ array_push($X_DATA, $xd['data']);
+}
+
+echo gen_img_map();