diff flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java @ 3296:45af081061e7

Added overview output for sq relation. Currently the overview generator is unused and the overview is build by the client. flys-artifacts/trunk@4979 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 13 Jul 2012 09:45:11 +0000
parents d9af29a4bb85
children 97ad960f5579
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java	Fri Jul 13 09:33:16 2012 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java	Fri Jul 13 09:45:11 2012 +0000
@@ -1737,6 +1737,9 @@
     public void aggregateLegendEntries(XYPlot plot) {
         int AGGR_THRESHOLD = 0;
 
+        if (getChartSettings() == null) {
+            return;
+        }
         Integer threshold = getChartSettings().getLegendSection()
             .getAggregationThreshold();
 

http://dive4elements.wald.intevation.org