From e215575aa9814198f51c05561bfc2f8a9809352f Mon Sep 17 00:00:00 2001 From: liamcottle Date: Mon, 2 Sep 2024 13:01:43 +1200 Subject: [PATCH] format percentage on y axis --- src/public/index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/public/index.html b/src/public/index.html index 80382d1..31838e9 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -1997,6 +1997,9 @@ y: { min: 0, max: 101, // 101 is "Plugged In", need to include for tooltip to work + ticks: { + callback: (label) => `${label}%`, + }, }, }, plugins: {