6263646566676869
assertNotNull(serie); assertEquals(1, lineChartData.getSeries().size()); assertTrue(lineChartData.getSeries().contains(serie)); chart.plot(lineChartData, bottomAxis, leftAxis); } }
6364656667686970
assertNotNull(series); assertEquals(1, scatterChartData.getSeries().size()); assertTrue(scatterChartData.getSeries().contains(series)); chart.plot(scatterChartData, bottomAxis, leftAxis); } }
assertNotNull(series); assertEquals(1, lineChartData.getSeries().size()); assertTrue(lineChartData.getSeries().contains(series)); chart.plot(lineChartData, bottomAxis, leftAxis); } }
7980818283848586878889
data.addSeries(xs, ys1); data.addSeries(xs, ys2); chart.plot(data, bottomAxis, leftAxis); // Write the output to a file FileOutputStream fileOut = new FileOutputStream("ooxml-line-chart.xlsx"); wb.write(fileOut); fileOut.close();