From 76e35c7a63e890f55fbeb59dc77bc522d0ab34c7 Mon Sep 17 00:00:00 2001 From: Simon Maddocks Date: Wed, 6 Oct 2021 02:01:41 +0100 Subject: [PATCH] fix graph gridlines --- .../ManagementPage/wwwroot/js/temperature_chart.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ManagementPage/ManagementPage/wwwroot/js/temperature_chart.js b/ManagementPage/ManagementPage/wwwroot/js/temperature_chart.js index 162bdd0..d965776 100644 --- a/ManagementPage/ManagementPage/wwwroot/js/temperature_chart.js +++ b/ManagementPage/ManagementPage/wwwroot/js/temperature_chart.js @@ -48,7 +48,10 @@ function CreateChart(ctx, temp, humidity) { callback: function (value, index, values) { return value + '%'; } - } + }, + grid: { + drawOnChartArea: false, + }, }, x: { title: {