diff --git a/index.html b/index.html index a355149988562ee516c348ae275fe3cc08229d5a..5767d40c2e7fd584172798028b3e1e5949c12997 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@ <!-- Higcharts --> <!-- `highcharts.js` does not play well with `highstock.js`; see: https://www.highcharts.com/errors/16/--> - <!-- <script src="https://code.highcharts.com/highcharts.js"></script> --> + <!-- <script src="https://code.highcharts.com/highcharts.js"></script> --> <script src="https://code.highcharts.com/stock/highstock.js"></script> <script src="https://code.highcharts.com/stock/modules/data.js"></script> <script src="https://code.highcharts.com/stock/modules/exporting.js"></script> diff --git a/public/js/appCesium.js b/public/js/appCesium.js index 626cb0dec71bcca815addefc54b6c05eb304393f..58e213b73f355046e0b98f12ad50089fc9c60c3e 100644 --- a/public/js/appCesium.js +++ b/public/js/appCesium.js @@ -152,7 +152,7 @@ LOAD_DETAILED_BLDG225 /** * Activate feature picking for the displayed 3DTiles * @param {*} - * @returns {undefined} + * @returns {undefined} undefined */ const activate3DTileFeaturePicking = function () { // HTML overlay for showing feature name on mouseover diff --git a/public/js/src_modules/aggregateHelpers.mjs b/public/js/src_modules/aggregateHelpers.mjs index 7df61a993d04e61174eefa0cfe6a808786608e56..64d6176a041f61777cf28d6e74e7f7dc2d9b6c0a 100644 --- a/public/js/src_modules/aggregateHelpers.mjs +++ b/public/js/src_modules/aggregateHelpers.mjs @@ -25,6 +25,7 @@ const createTimeStringsForInterval = function (phenomenonSamplingRate) { if (phenomenonSamplingRate === fifteenMinutes) { return [startTime, endTimeFifteenMinutes]; } + // 60 min sampling rate if (phenomenonSamplingRate === sixtyMinutes) { return [startTime, endTimeSixtyMinutes]; diff --git a/public/js/src_modules/chartColumn.mjs b/public/js/src_modules/chartColumn.mjs index 4c89ebc931cbe116a38835548a97ecd9b4abd472..c54566d779997a942368bb74ac05cd49d7ec5811 100644 --- a/public/js/src_modules/chartColumn.mjs +++ b/public/js/src_modules/chartColumn.mjs @@ -148,7 +148,7 @@ const drawColumnChartHighcharts = function ( yAxis: { min: 0, title: { - text: "Rainfall (mm)", + text: `${phenomenonName} [${unitOfMeasurementSymbol}]`, }, }, diff --git a/public/js/src_modules/chartHelpers.mjs b/public/js/src_modules/chartHelpers.mjs index 1ebd5b81f3cdca892ed9e9cb717d62642cf47877..fb471f43c15a6e38ab7b24ba8560412f38bfd89b 100644 --- a/public/js/src_modules/chartHelpers.mjs +++ b/public/js/src_modules/chartHelpers.mjs @@ -266,7 +266,7 @@ const createFullTitleForLineOrColumnChart = function ( return `${createPartialTitleForLineOrColumnChart( aggregationInterval, aggregationType - )} ${phenomenonNamesArr[0]}`; + )}: ${createCombinedTextDelimitedByComma(phenomenonNamesArr)}`; }; /**