Skip to content

Commit 49d0553

Browse files
mra/plots/GenericMultiAxisPlot: Fix for the third and following variables were using the axis for the second variable.
1 parent 115501d commit 49d0553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/java/pt/lsts/neptus/mra/plots/GenericMultiAxisPlot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public JFreeChart getChart(IMraLogGroup source, double timestep) {
114114
axis2.setUpperMargin(0.02);
115115
chart.getXYPlot().setRangeAxis(++idx, axis2);
116116
chart.getXYPlot().setDataset(idx, ntsc);
117-
chart.getXYPlot().mapDatasetToRangeAxis(idx, 1);
117+
chart.getXYPlot().mapDatasetToRangeAxis(idx, idx);
118118
}
119119
chart.getXYPlot().getRangeAxis().setLabel(firstGrp);
120120

0 commit comments

Comments
 (0)