summaryrefslogtreecommitdiff
path: root/altosui/AltosGraphUI.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-10-08 11:46:38 -0600
committerKeith Packard <keithp@keithp.com>2011-10-08 11:46:38 -0600
commitcbf5a649c8b7101bef9d57e48e42ac775e758c79 (patch)
tree9ec33b829609c4d7fd75142fc35bff48bafd0b16 /altosui/AltosGraphUI.java
parentf9b0b7423c0640f729d61a91de6ff96ffe4b486e (diff)
altosui: Allow for multiple instances of each state in the graph
With the new boost re-detect code, we can get multiple instances of boost/fast/coast, so make sure each are displayed in the graph. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosGraphUI.java')
-rw-r--r--altosui/AltosGraphUI.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/altosui/AltosGraphUI.java b/altosui/AltosGraphUI.java
index be52bd4e..030bbc25 100644
--- a/altosui/AltosGraphUI.java
+++ b/altosui/AltosGraphUI.java
@@ -109,6 +109,8 @@ public class AltosGraphUI extends JFrame
protected AltosGraphTime myAltosGraphTime(String suffix) {
return (new AltosGraphTime("Overall " + suffix))
.addElement(e_boost)
+ .addElement(e_fast)
+ .addElement(e_coast)
.addElement(e_drogue)
.addElement(e_main)
.addElement(e_landed);
@@ -238,8 +240,8 @@ public class AltosGraphUI extends JFrame
{
ArrayList<AltosGraph> graph = new ArrayList<AltosGraph>();
graph.addAll((new OverallGraphs()).graphs());
- graph.addAll((new AscentGraphs()).graphs());
- graph.addAll((new DescentGraphs()).graphs());
+// graph.addAll((new AscentGraphs()).graphs());
+// graph.addAll((new DescentGraphs()).graphs());
if (which > 0) {
if (which >= graph.size()) {