X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/e32107a7fe79ce34f3bdf860410a6d5455efdca7..24b943a6e7b7490d7cb5b9fb02b5561a8b74c697:/openwrt-web/meteo/archive.js diff --git a/openwrt-web/meteo/archive.js b/openwrt-web/meteo/archive.js index 20aa7aa..a0850e4 100644 --- a/openwrt-web/meteo/archive.js +++ b/openwrt-web/meteo/archive.js @@ -146,7 +146,7 @@ function drawGraph(graphData) { yAxes: [{ scaleLabel: { display: true, - labelString: properties["names"][sensor+"."+param], + labelString: properties["names"][devid+"."+sensor+"."+param] + ", " + properties["units"][devid+"."+sensor+"."+param], fontColor: properties["fonts"]["axes"]["color"], fontSize: properties["fonts"]["axes"]["size"], fontStyle: properties["fonts"]["axes"]["style"],