我正在使用Jxl.jar。我在.xls文件上写了一些数据,我想知道你是否可以使用Jxl来获取这些数据的范围并制作它们的流程图。谢谢你的回答。
File file = new File("datos.xls");
WritableWorkbook excelBook = Workbook.createWorkbook(file);
WritableSheet excelSheet = excelBook.createSheet("Data", 0);
excelSheet.addCell(new jxl.write.Number(0, 1, x.getValue()));
excelSheet.addCell(new jxl.write.Number(0, 2, x.getValue()));
excelSheet.addCell(new jxl.write.Number(0, 3, x.getValue()));
excelSheet.addCell(new jxl.write.Number(0, 4, x.getValue()));
//Make a chart with values.