@Test public void generateXValue() { assertEquals(1, aggregatedSeriesXValueGenerator.generateXValue(0)); assertEquals(3, aggregatedSeriesXValueGenerator.generateXValue(1)); assertEquals(5, aggregatedSeriesXValueGenerator.generateXValue(2)); assertEquals(7, aggregatedSeriesXValueGenerator.generateXValue(3)); }
public int generateXValue(int seriesIndexInChart) { return (seriesIndexInChart*2)+1; }
AggregatedSeriesXValueGenerator { public int generateXValue(int seriesIndexInChart) { return (seriesIndexInChart*2)+1; } }
AggregatedSeriesXValueGenerator { public int generateXValue(int seriesIndexInChart) { return (seriesIndexInChart*2)+1; }  }
AggregatedSeriesXValueGenerator { public int generateXValue(int seriesIndexInChart) { return (seriesIndexInChart*2)+1; }  int generateXValue(int seriesIndexInChart); }
AggregatedSeriesXValueGenerator { public int generateXValue(int seriesIndexInChart) { return (seriesIndexInChart*2)+1; }  int generateXValue(int seriesIndexInChart);  }