\r
ChartDataSource<String> xs = DataSources.fromStringCellRange(sheet, CellRangeAddress.valueOf("A1:J1"));\r
ChartDataSource<Number> ys = DataSources.fromNumericCellRange(sheet, CellRangeAddress.valueOf("A2:J2"));\r
- LineChartSerie serie = lineChartData.addSerie(xs, ys);\r
+ LineChartSerie series = lineChartData.addSerie(xs, ys);\r
\r
- assertNotNull(serie);\r
+ assertNotNull(series);\r
assertEquals(1, lineChartData.getSeries().size());\r
- assertTrue(lineChartData.getSeries().contains(serie));\r
+ assertTrue(lineChartData.getSeries().contains(series));\r
\r
chart.plot(lineChartData, bottomAxis, leftAxis);\r
}\r
ChartDataSource<String> xs = DataSources.fromStringCellRange(sheet, CellRangeAddress.valueOf("A1:J1"));
ChartDataSource<Number> ys = DataSources.fromNumericCellRange(sheet, CellRangeAddress.valueOf("A2:J2"));
- ScatterChartSerie serie = scatterChartData.addSerie(xs, ys);
+ ScatterChartSerie series = scatterChartData.addSerie(xs, ys);
- assertNotNull(serie);
+ assertNotNull(series);
assertEquals(1, scatterChartData.getSeries().size());
- assertTrue(scatterChartData.getSeries().contains(serie));
+ assertTrue(scatterChartData.getSeries().contains(series));
chart.plot(scatterChartData, bottomAxis, leftAxis);
}