X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/e32107a7fe79ce34f3bdf860410a6d5455efdca7..3d8af53f1b0fde15ccb2ec381f4f907648f1d35a:/openwrt-web/meteo/archive.js?ds=sidebyside 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"],