Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java @ 3155:74c974b10c75
Output code to trackdown the linecolor problem
flys-artifacts/trunk@4767 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Sun, 24 Jun 2012 06:51:05 +0000 |
parents | 40147510e2d7 |
children | 8c78c707aa2d |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java Sat Jun 23 18:15:17 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java Sun Jun 24 06:51:05 2012 +0000 @@ -1098,6 +1098,8 @@ * @param plot plot to add datasets to. */ protected void addDatasets(XYPlot plot) { + logger.debug("addDatasets()"); + // AxisDatasets are sorted, but some might be empty. // Thus, generate numbering on the fly. int axisIndex = 0; @@ -1107,7 +1109,7 @@ if (!entry.getValue().isEmpty()) { // Add axis and range information. AxisDataset axisDataset = entry.getValue(); - NumberAxis axis = createYAxis(entry.getKey()); + NumberAxis axis = createYAxis(entry.getKey()); plot.setRangeAxis(axisIndex, axis);