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
No related tags found
No related merge requests found
...@@ -86,8 +86,8 @@ public class ChartPainter { ...@@ -86,8 +86,8 @@ public class ChartPainter {
throw new IllegalArgumentException("Series data cannot be less or equal to zero for a logarithmic X-Axis!!!"); 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) { if (getStyleManager().isYAxisLogarithmic() && axisPair.getyAxis().getMin().compareTo(BigDecimal.ZERO) <= 0) {
System.out.println(axisPair.getyAxis().getMin()); // System.out.println(axisPair.getyAxis().getMin());
// throw new IllegalArgumentException("Series data cannot be less or equal to zero for a logarithmic Y-Axis!!!"); 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 g.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); // global rendering hint
......
...@@ -193,7 +193,7 @@ public class PlotContentLineChart extends PlotContent { ...@@ -193,7 +193,7 @@ public class PlotContentLineChart extends PlotContent {
BigDecimal bottomValue = null; BigDecimal bottomValue = null;
if (getChartPainter().getStyleManager().isYAxisLogarithmic()) { if (getChartPainter().getStyleManager().isYAxisLogarithmic()) {
bottomValue = yOrig.subtract(eb); bottomValue = yOrig.subtract(eb);
System.out.println(bottomValue); // System.out.println(bottomValue);
bottomValue = new BigDecimal(Math.log10(bottomValue.doubleValue())); bottomValue = new BigDecimal(Math.log10(bottomValue.doubleValue()));
} else { } else {
bottomValue = y.subtract(eb); 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