Исключение : java.lang.RuntimeException: NotImplemented at org.apache.poi.hssf.usermodel.HSSFPatriarch.createChart(HSSFPatriarch.java:526).
Код:
Drawing drawing = sheet.createDrawingPatriarch();
ClientAnchor anchor = drawing.createAnchor(0, 0, 0, 0, 0, courses.size(), courses.size(), 30);
Chart chart = drawing.createChart(anchor); // Getting error here.
CTChart ctChart = ((XSSFChart) chart).getCTChart();
CTPlotArea ctPlotArea = ctChart.getPlotArea();
CTBarChart ctBarChart = ctPlotArea.addNewBarChart();
CTBoolean ctBoolean = ctBarChart.addNewVaryColors();
ctBoolean.setVal(true);
ctBarChart.addNewBarDir().setVal(STBarDir.COL); ..........
Файл Maven:
org.apache.poi(3.15),
poi-ooxml(3.15),
poi-ooxml-schemas(3.15),
ooxml-schemas (1.3)