altosui: Add extra ignitors to graphable objects
[fw/altos] / altosui / AltosGraph.java
index 42334e319cc435d5d85090c3bb2c169fb6fd4b4c..f14956762bd8752a165752eb2ff42ca9f447e09e 100644 (file)
@@ -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
+}