comments fix

This commit is contained in:
Greg DiCristofaro 2021-03-22 09:01:33 -04:00
parent 736fa6b7f9
commit 19da83c009

View File

@ -231,7 +231,6 @@ public class BarChartExport implements ExcelItemExportable, ExcelSheetExport {
XDDFCategoryAxis bottomAxis = chart.createCategoryAxis(AxisPosition.BOTTOM); XDDFCategoryAxis bottomAxis = chart.createCategoryAxis(AxisPosition.BOTTOM);
bottomAxis.setTitle(keyColumnHeader); bottomAxis.setTitle(keyColumnHeader);
XDDFValueAxis leftAxis = chart.createValueAxis(AxisPosition.LEFT); XDDFValueAxis leftAxis = chart.createValueAxis(AxisPosition.LEFT);
// leftAxis.setTitle(valHeader);
leftAxis.setCrosses(AxisCrosses.AUTO_ZERO); leftAxis.setCrosses(AxisCrosses.AUTO_ZERO);
leftAxis.setVisible(false); leftAxis.setVisible(false);
@ -256,7 +255,7 @@ public class BarChartExport implements ExcelItemExportable, ExcelSheetExport {
Color color = categories.get(i).getColor(); Color color = categories.get(i).getColor();
byte[] colorArrARGB = ByteBuffer.allocate(4).putInt(color.getRGB()).array(); byte[] colorArrARGB = ByteBuffer.allocate(4).putInt(color.getRGB()).array();
byte[] colorArrRGB = new byte[]{colorArrARGB[1], colorArrARGB[2], colorArrARGB[3]}; byte[] colorArrRGB = new byte[]{colorArrARGB[1], colorArrARGB[2], colorArrARGB[3]};
XDDFSolidFillProperties fill = new XDDFSolidFillProperties(XDDFColor.from(colorArrRGB)); // XDDFColor.from(color.getRed(), color.getGreen(), color.getBlue())); XDDFSolidFillProperties fill = new XDDFSolidFillProperties(XDDFColor.from(colorArrRGB));
XDDFShapeProperties properties = series.getShapeProperties(); XDDFShapeProperties properties = series.getShapeProperties();
if (properties == null) { if (properties == null) {
properties = new XDDFShapeProperties(); properties = new XDDFShapeProperties();