Change Voltage chart to use suggested min/max (#1)
The Voltage/Current chart often either shows lines with so little variation that you cannot see changes, or the values go off the top/bottom. This change allows the chart to adapt dynamically to the values being returned.
This commit is contained in:
parent
43cf12015d
commit
9ff76345b0
1 changed files with 3 additions and 3 deletions
|
|
@ -2433,14 +2433,14 @@
|
|||
},
|
||||
y: {
|
||||
min: 0,
|
||||
max: 30,
|
||||
suggestedMax: 6,
|
||||
ticks: {
|
||||
callback: (label) => `${label}V`,
|
||||
},
|
||||
},
|
||||
y1: {
|
||||
min: -500,
|
||||
max: 500,
|
||||
suggestedMin: -50,
|
||||
suggestedMax: 50,
|
||||
ticks: {
|
||||
stepSize: 50,
|
||||
callback: (label) => `${label}mA`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue