diff options
author | Keith Packard <keithp@keithp.com> | 2014-04-29 19:04:30 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-04-29 19:05:49 -0700 |
commit | 5fb246fb50e262aa81ef7eb430be9782cfcf8848 (patch) | |
tree | 6627d82df40326b0c371c35bf17c34f1dd0acde9 /altosui/AltosGraph.java | |
parent | f8429152e438eb72618edaf5983ae1cd5d3d4dab (diff) |
altosui: Add extra ignitors to graphable objects
List all of the available extra ignitors as possible things to graph.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/AltosGraph.java')
-rw-r--r-- | altosui/AltosGraph.java | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/altosui/AltosGraph.java b/altosui/AltosGraph.java index 42334e31..f1495676 100644 --- a/altosui/AltosGraph.java +++ b/altosui/AltosGraph.java @@ -389,7 +389,16 @@ public class AltosGraph extends AltosUIGraph { orient_color, false, orient_axis); + if (stats.num_ignitor > 0) { + for (int i = 0; i < stats.num_ignitor; i++) + addSeries(AltosIgnitor.ignitor_name(i), + AltosGraphDataPoint.data_ignitor_0 + i, + voltage_units, + main_voltage_color, + false, + voltage_axis); + } setDataSet(dataSet); } -}
\ No newline at end of file +} |