format percentage on y axis

This commit is contained in:
liamcottle committed 2024-09-02 13:01:43 +12:00
1 parent eabe5b2de8
commit e215575aa9
1 file changed
+3
+3
View File
@@ -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: {