projects
/
fw
/
altos
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
169a6d5
)
altosuilib: rescale axis when enabling data series
author
Keith Packard
<keithp@keithp.com>
Mon, 11 Feb 2013 18:24:34 +0000
(10:24 -0800)
committer
Keith Packard
<keithp@keithp.com>
Mon, 11 Feb 2013 18:29:35 +0000
(10:29 -0800)
This makes sure new series are visible when you enable them.
Signed-off-by: Keith Packard <keithp@keithp.com>
altosuilib/AltosUIAxis.java
patch
|
blob
|
history
diff --git
a/altosuilib/AltosUIAxis.java
b/altosuilib/AltosUIAxis.java
index 70084a0096b214c85f75fce4bde2971ee11dc2a6..867b03841bb4100cfaf4298377cb55fd52a990e4 100644
(file)
--- a/
altosuilib/AltosUIAxis.java
+++ b/
altosuilib/AltosUIAxis.java
@@
-62,6
+62,8
@@
public class AltosUIAxis extends NumberAxis {
System.out.printf("too few visible\n");
}
setVisible(visible > 0);
+ if (enable)
+ autoAdjustRange();
}
public void ref(boolean enable) {