minor fix - graph index

This commit is contained in:
rusefillc 2022-04-18 00:05:15 -04:00
parent 2055994799
commit 5a5ae49d27
2 changed files with 2 additions and 4 deletions

View File

@ -57,11 +57,9 @@ public class FragmentDialogConsumer implements ConfigurationConsumer {
if (linesInCurrentGraph == 4) {
linesInCurrentGraph = 0;
currentGraphIndex++;
startNewGraph();
}
graphLines.append("\tgraphLine = " + configField.getName() + "\n");
linesInCurrentGraph++;

View File

@ -41,7 +41,7 @@ public class FragmentDialogConsumerTest {
"\tgraphLine = rpmAcceleration\n" +
"\tgraphLine = speedToRpmRatio\n" +
"\tgraphLine = alignmentFill_at_10\n" +
"liveGraph = ac_state_3_Graph, \"Graph\", South\n" +
"liveGraph = ac_state_2_Graph, \"Graph\", South\n" +
"\tgraphLine = luaTimingMult\n" +
"\tgraphLine = vehicleSpeedKph\n" +
"\tgraphLine = internalMcuTemperature\n" +
@ -50,7 +50,7 @@ public class FragmentDialogConsumerTest {
"dialog = ac_stateDialog, \"ac_state\"\n" +
"\tpanel = ac_stateIndicatorPanel\n" +
"\tpanel = ac_state_1_Graph\n" +
"\tpanel = ac_state_3_Graph\n" +
"\tpanel = ac_state_2_Graph\n" +
"\n",
fragmentDialogConsumer.getContent());