X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/e32107a7fe79ce34f3bdf860410a6d5455efdca7..da331fea01b7d2bc15b7628366b03b9e3ba1a395:/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"],