Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
4444:47d50572844a | 4445:0eca080fc162 |
---|---|
181 /** The max X range to include all X values of all series for each axis. */ | 181 /** The max X range to include all X values of all series for each axis. */ |
182 protected Map<Integer, Bounds> xBounds; | 182 protected Map<Integer, Bounds> xBounds; |
183 | 183 |
184 /** The max Y range to include all Y values of all series for each axis. */ | 184 /** The max Y range to include all Y values of all series for each axis. */ |
185 protected Map<Integer, Bounds> yBounds; | 185 protected Map<Integer, Bounds> yBounds; |
186 | |
187 /** Whether or not the plot is inverted (left-right). */ | |
188 private boolean inverted; | |
186 | 189 |
187 public XYChartGenerator() { | 190 public XYChartGenerator() { |
188 super(); | 191 super(); |
189 | 192 |
190 xBounds = new HashMap<Integer, Bounds>(); | 193 xBounds = new HashMap<Integer, Bounds>(); |
1033 // WQ.java holds example of using regex Matcher/Pattern. | 1036 // WQ.java holds example of using regex Matcher/Pattern. |
1034 | 1037 |
1035 return hash; | 1038 return hash; |
1036 } | 1039 } |
1037 | 1040 |
1041 /** True if x axis has been inverted. */ | |
1042 public boolean isInverted() { | |
1043 return inverted; | |
1044 } | |
1045 | |
1046 | |
1047 /** Set to true if x axis has been inverted. */ | |
1048 public void setInverted(boolean inverted) { | |
1049 this.inverted = inverted; | |
1050 } | |
1051 | |
1052 | |
1038 } | 1053 } |
1039 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 1054 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |