From 5fb246fb50e262aa81ef7eb430be9782cfcf8848 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Tue, 29 Apr 2014 19:04:30 -0700 Subject: altosui: Add extra ignitors to graphable objects List all of the available extra ignitors as possible things to graph. Signed-off-by: Keith Packard --- altosui/AltosGraph.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'altosui/AltosGraph.java') 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 +} -- cgit v1.2.3