From 35dc06f492dbdde92f699497debea90cc8b9e5f7 Mon Sep 17 00:00:00 2001 From: Pithon Kabiro Date: Thu, 30 Sep 2021 15:37:26 +0200 Subject: [PATCH] New function: callback function that draws chart Function uses options from drop-down list that have been selected by a user to populate the appropriate observations and then draw the appropriate chart --- index.html | 37 +- public/js/appChart.js | 985 ++++++------------ public/js/dropDownList.js | 417 -------- .../src_modules/calculateTemperatureDiff.mjs | 224 ++-- public/js/src_modules/dropDownListHelpers.mjs | 422 ++++++++ .../js/src_modules/dropDownListProcessing.mjs | 864 +++++++++++++++ 6 files changed, 1722 insertions(+), 1227 deletions(-) delete mode 100644 public/js/dropDownList.js create mode 100644 public/js/src_modules/dropDownListHelpers.mjs create mode 100644 public/js/src_modules/dropDownListProcessing.mjs diff --git a/index.html b/index.html index d51f644..a355149 100644 --- a/index.html +++ b/index.html @@ -69,7 +69,6 @@ Custom JS --> -