Some changes are not shown
For a faster browsing experience, some files are collapsed by default.
public
css/thirdparty
styles.css +0 -0
vanillaSelectBox.css +271 -0
js
src_modules
calculateTemperatureDiff.mjs +35 -6
chartHelpers.mjs +168 -0
chartScatterPlot.mjs +1 -167
thirdparty
vanillaSelectBox.mjs +1332 -0
dropDownList.js +62 -13
index.html +6 -6
File renamed with no changes. Show file contents
public/css/thirdparty/vanillaSelectBox.css
0 → 100644
+ 271
- 0
* Calculate the temperature difference, dT, between Vorlauf temperature [VL] and Rücklauf temperature [RL] (i.e., dT = VL - RL)
@@ -40,21 +43,47 @@ export const calculateVorlaufMinusRuecklaufTemperature = async function (
@@ -40,21 +43,47 @@ export const calculateVorlaufMinusRuecklaufTemperature = async function (
+ 168
- 0
@@ -8,6 +8,173 @@ const chartExportOptions = {
@@ -8,6 +8,173 @@ const chartExportOptions = {
* Convert a hexadecimal color code obtained from the Highcharts object (`Highcharts.getOptions().colors`) to its equivalent RGB color code
@@ -142,6 +309,7 @@ const removeTransparencyFromColor = function (rgbaColor) {
@@ -142,6 +309,7 @@ const removeTransparencyFromColor = function (rgbaColor) {
@@ -2,6 +2,7 @@
@@ -2,6 +2,7 @@
@@ -9,173 +10,6 @@ import {
@@ -9,173 +10,6 @@ import {
* Determines the timestamps that are missing from a smaller set of observations. Based on the comparison of two observation arrays, where one array is larger than the other
* Determines the indexes of timestamps that are unique to the larger set of observatiuons. Based on the comparison of two observation arrays, where one array is larger than the other
* @param {Array} uniqueTimestampsArr An array of timestamps unique to the larger set of observations
* Removes observations (by modifying array in place) that are unique to a larger set of observations. Based on the comparison of two observation arrays, where one array is larger than the other
* @param {Array} obsArrayOne Array of observations (timestamp + value) that is response from SensorThings API
* @param {Array} obsArrayTwo Array of observations (timestamp + value) that is response from SensorThings API
* @returns {Array} Two arrays of observations (timestamp + value) with matching timestamps and equal lengths
* Utility function for deleting the unique observations from a larger array AND ensuring the order of input arrays is maintained
* @param {Array} obsArrayOne Array of observations (timestamp + value) that is response from SensorThings API
* @param {Array} obsArrayTwo Array of observations (timestamp + value) that is response from SensorThings API
* @returns {Array} Two arrays of observations (timestamp + value) with matching timestamps and equal lengths
public/js/thirdparty/vanillaSelectBox.mjs
0 → 100644
+ 1332
- 0
Files with large changes are collapsed by default.
+ 62
- 13
@@ -27,8 +27,10 @@ import {
@@ -27,8 +27,10 @@ import {
@@ -132,27 +134,42 @@ const makeDropDown = function (dataArr, filtersAsArray, targetElement) {
@@ -132,27 +134,42 @@ const makeDropDown = function (dataArr, filtersAsArray, targetElement) {
@@ -160,21 +177,53 @@ const applyDropDown2 = function () {
@@ -160,21 +177,53 @@ const applyDropDown2 = function () {
+ 6
- 6
@@ -10,7 +10,7 @@
@@ -10,7 +10,7 @@
@@ -53,16 +53,17 @@
@@ -53,16 +53,17 @@
@@ -133,7 +134,7 @@
@@ -133,7 +134,7 @@
@@ -155,7 +156,6 @@
@@ -155,7 +156,6 @@