FIX: Graph now uses Autoscale unit
This commit is contained in:
parent
0b99043d5a
commit
13c4652244
@ -118,7 +118,7 @@ public class Graph {
|
||||
final int fontH3_4 = (int) Math.round(g.getFontMetrics().getHeight() * 0.75);
|
||||
|
||||
g.setColor(Color.gray);
|
||||
final String string = "%s [%s]".formatted(series.getTitle(), series.unit.unit);
|
||||
final String string = "%s [%s]".formatted(series.getTitle(), autoscale.unit);
|
||||
g.drawString(string, border, border + fontH3_4);
|
||||
|
||||
yLabel(g, valueMax, DASHED, Color.red);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user