private void removeXYSeries(int column) { if (column == rpmCol) { ((NumberAxis)plot.getRangeAxis(0)).setStandardTickUnits(new StandardTickUnitSource()); plot.getRangeAxis(0).setTickLabelsVisible(false); rpmPlotRenderer.setSeriesVisible(0, false); xMarker.removeLabel(rpmPlotRenderer.getSeriesPaint(0)); } else { displCount -= 1; if (displCount == 0) plot.getRangeAxis(1).setTickLabelsVisible(false); plotRenderer.setSeriesVisible(column, false); xMarker.removeLabel(plotRenderer.getSeriesPaint(column)); } }
/** * Confirm that the equals method can distinguish all the required fields. */ public void testEquals() { StandardTickUnitSource t1 = new StandardTickUnitSource(); StandardTickUnitSource t2 = new StandardTickUnitSource(); assertTrue(t1.equals(t2)); }