Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
3295:4fc442f1b4f6 | 3296:45af081061e7 |
---|---|
1735 * @param plot The plot for which to modify the legend. | 1735 * @param plot The plot for which to modify the legend. |
1736 */ | 1736 */ |
1737 public void aggregateLegendEntries(XYPlot plot) { | 1737 public void aggregateLegendEntries(XYPlot plot) { |
1738 int AGGR_THRESHOLD = 0; | 1738 int AGGR_THRESHOLD = 0; |
1739 | 1739 |
1740 if (getChartSettings() == null) { | |
1741 return; | |
1742 } | |
1740 Integer threshold = getChartSettings().getLegendSection() | 1743 Integer threshold = getChartSettings().getLegendSection() |
1741 .getAggregationThreshold(); | 1744 .getAggregationThreshold(); |
1742 | 1745 |
1743 AGGR_THRESHOLD = (threshold != null) ? threshold.intValue() : 0; | 1746 AGGR_THRESHOLD = (threshold != null) ? threshold.intValue() : 0; |
1744 | 1747 |