Merge pull request #92 from sgtwilko/StopGraphFromCuttingOffValues

Change Voltage chart to use suggested min/max (#1)
This commit is contained in:
Liam Cottle 2025-04-25 17:26:56 +12:00 committed by GitHub
commit b87a7b2f27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2433,14 +2433,14 @@
}, },
y: { y: {
min: 0, min: 0,
max: 30, suggestedMax: 6,
ticks: { ticks: {
callback: (label) => `${label}V`, callback: (label) => `${label}V`,
}, },
}, },
y1: { y1: {
min: -500, suggestedMin: -50,
max: 500, suggestedMax: 50,
ticks: { ticks: {
stepSize: 50, stepSize: 50,
callback: (label) => `${label}mA`, callback: (label) => `${label}mA`,