format percentage on y axis
This commit is contained in:
@ -1997,6 +1997,9 @@
|
|||||||
y: {
|
y: {
|
||||||
min: 0,
|
min: 0,
|
||||||
max: 101, // 101 is "Plugged In", need to include for tooltip to work
|
max: 101, // 101 is "Plugged In", need to include for tooltip to work
|
||||||
|
ticks: {
|
||||||
|
callback: (label) => `${label}%`,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
|
Reference in New Issue
Block a user