Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java @ 4445:0eca080fc162
Move inverted from LongitudinalSectionGenerator to XYChartGenerator
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 07 Nov 2012 14:22:54 +0100 |
parents | 5b8919ef601d |
children | 4a30d1d62caf |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java Wed Nov 07 14:12:39 2012 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/XYChartGenerator.java Wed Nov 07 14:22:54 2012 +0100 @@ -184,6 +184,9 @@ /** The max Y range to include all Y values of all series for each axis. */ protected Map<Integer, Bounds> yBounds; + /** Whether or not the plot is inverted (left-right). */ + private boolean inverted; + public XYChartGenerator() { super(); @@ -1035,5 +1038,17 @@ return hash; } + /** True if x axis has been inverted. */ + public boolean isInverted() { + return inverted; + } + + + /** Set to true if x axis has been inverted. */ + public void setInverted(boolean inverted) { + this.inverted = inverted; + } + + } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :