Mercurial > dive4elements > river
changeset 717:be4709640aac
#90 Added a margin between chart data and chart axes to avoid displaying curves on the chart border.
flys-artifacts/trunk@2190 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 21 Jun 2011 17:39:29 +0000 |
parents | 733d6db30722 |
children | f3fd8c9b7f51 |
files | flys-artifacts/ChangeLog flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java |
diffstat | 2 files changed, 9 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-artifacts/ChangeLog Tue Jun 21 17:03:46 2011 +0000 +++ b/flys-artifacts/ChangeLog Tue Jun 21 17:39:29 2011 +0000 @@ -1,3 +1,10 @@ +2011-06-21 Ingo Weinzierl <ingo@intevation.de> + + flys/issue90 (Diagramm: Trennung derDiagrammfläche und Achsenaufheben) + + * src/main/java/de/intevation/flys/exports/XYChartGenerator.java: + Added a margin between chart data and chart axes. + 2011-06-21 Sascha L. Teichmann <sascha.teichmann@intevation.de> Fix for flys/issue158
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java Tue Jun 21 17:03:46 2011 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java Tue Jun 21 17:39:29 2011 +0000 @@ -167,14 +167,14 @@ min + x.getLowerBound() * diff, min + x.getUpperBound() * diff); - axis.setRange(computed); + axis.setRangeWithMargins(computed); logger.debug("Zoom axis to: " + computed); return true; } - axis.setRange(range); + axis.setRangeWithMargins(range); return false; }