From 19da83c0097aaa23e4287f272f01eb08150af623 Mon Sep 17 00:00:00 2001 From: Greg DiCristofaro Date: Mon, 22 Mar 2021 09:01:33 -0400 Subject: [PATCH] comments fix --- .../autopsy/datasourcesummary/uiutils/BarChartExport.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/datasourcesummary/uiutils/BarChartExport.java b/Core/src/org/sleuthkit/autopsy/datasourcesummary/uiutils/BarChartExport.java index e538a64ca5..8353549e75 100644 --- a/Core/src/org/sleuthkit/autopsy/datasourcesummary/uiutils/BarChartExport.java +++ b/Core/src/org/sleuthkit/autopsy/datasourcesummary/uiutils/BarChartExport.java @@ -231,7 +231,6 @@ public class BarChartExport implements ExcelItemExportable, ExcelSheetExport { XDDFCategoryAxis bottomAxis = chart.createCategoryAxis(AxisPosition.BOTTOM); bottomAxis.setTitle(keyColumnHeader); XDDFValueAxis leftAxis = chart.createValueAxis(AxisPosition.LEFT); - // leftAxis.setTitle(valHeader); leftAxis.setCrosses(AxisCrosses.AUTO_ZERO); leftAxis.setVisible(false); @@ -256,7 +255,7 @@ public class BarChartExport implements ExcelItemExportable, ExcelSheetExport { Color color = categories.get(i).getColor(); byte[] colorArrARGB = ByteBuffer.allocate(4).putInt(color.getRGB()).array(); 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(); if (properties == null) { properties = new XDDFShapeProperties();