summaryrefslogtreecommitdiff
path: root/altosuilib/AltosUIMarker.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-05-11 17:16:56 -0700
committerKeith Packard <keithp@keithp.com>2017-05-19 21:41:40 -0700
commit96de483d745ea0ef95326de2847a2534f7057846 (patch)
treeaaff2e6b481b9b602d2dff6fb8a02daed19c0c64 /altosuilib/AltosUIMarker.java
parent258808d296aeadaf150fa9b07e9c99a6bf1ca7c8 (diff)
altosuilib: Start creating new graph interface that takes time series data
Replace the AltosState interface so the graph can get better data, and can be used for more stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosuilib/AltosUIMarker.java')
-rw-r--r--altosuilib/AltosUIMarker.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/altosuilib/AltosUIMarker.java b/altosuilib/AltosUIMarker.java
index 9d8dde60..d50dfe9a 100644
--- a/altosuilib/AltosUIMarker.java
+++ b/altosuilib/AltosUIMarker.java
@@ -56,6 +56,8 @@ public class AltosUIMarker implements AltosUIGrapher {
public void set_units() {
}
+ public boolean need_reset() { return true; }
+
public void set_enable(boolean enable) {
if (enabled == enable)
return;
@@ -110,4 +112,4 @@ public class AltosUIMarker implements AltosUIGrapher {
public AltosUIMarker (int fetch, Color color, XYPlot plot) {
this(fetch, color, plot, true);
}
-} \ No newline at end of file
+}