Skip to content
Snippets Groups Projects
Commit d14a559e authored by Tim Molter's avatar Tim Molter
Browse files

got rid of sysouts

parent a88789b3
Branches
Tags
No related merge requests found
......@@ -86,8 +86,8 @@ public class ChartPainter {
throw new IllegalArgumentException("Series data cannot be less or equal to zero for a logarithmic X-Axis!!!");
}
if (getStyleManager().isYAxisLogarithmic() && axisPair.getyAxis().getMin().compareTo(BigDecimal.ZERO) <= 0) {
System.out.println(axisPair.getyAxis().getMin());
// throw new IllegalArgumentException("Series data cannot be less or equal to zero for a logarithmic Y-Axis!!!");
// System.out.println(axisPair.getyAxis().getMin());
throw new IllegalArgumentException("Series data cannot be less or equal to zero for a logarithmic Y-Axis!!!");
}
g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); // global rendering hint
......
......@@ -193,7 +193,7 @@ public class PlotContentLineChart extends PlotContent {
BigDecimal bottomValue = null;
if (getChartPainter().getStyleManager().isYAxisLogarithmic()) {
bottomValue = yOrig.subtract(eb);
System.out.println(bottomValue);
// System.out.println(bottomValue);
bottomValue = new BigDecimal(Math.log10(bottomValue.doubleValue()));
} else {
bottomValue = y.subtract(eb);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment