format percentage on y axis

This commit is contained in:
liamcottle
2024-09-02 13:01:43 +12:00
parent eabe5b2de8
commit e215575aa9

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: {