Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/sq/SQRelationGenerator.java @ 3119:238803b2cb8b
Create a compound index for SQOutlierFacets based on result index and iteration number.
flys-artifacts/trunk@4720 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 20 Jun 2012 11:04:24 +0000 |
parents | 5482a8a48a3f |
children | e52a3b62fc20 |
comparison
equal
deleted
inserted
replaced
3118:6fb211753674 | 3119:238803b2cb8b |
---|---|
137 SQFunction func = (SQFunction) artifactAndFacet.getData(context); | 137 SQFunction func = (SQFunction) artifactAndFacet.getData(context); |
138 | 138 |
139 XYSeries series = JFreeUtil.sampleFunction2D( | 139 XYSeries series = JFreeUtil.sampleFunction2D( |
140 func.getFunction(), | 140 func.getFunction(), |
141 attr, | 141 attr, |
142 "SQ Curve", | 142 f.getDescription(), |
143 10, | 143 10, |
144 func.getMinQ(), | 144 func.getMinQ(), |
145 func.getMaxQ()); | 145 func.getMaxQ()); |
146 | |
147 if (logger.isDebugEnabled()) { | |
148 logger.debug("Series '" + f.getDescription() + "' has " | |
149 + series.getItemCount() + " items."); | |
150 | |
151 logger.debug(" -> min x = " + series.getMinX()); | |
152 logger.debug(" -> max x = " + series.getMaxX()); | |
153 logger.debug(" -> min y = " + series.getMinY()); | |
154 logger.debug(" -> max y = " + series.getMaxY()); | |
155 } | |
146 | 156 |
147 addAxisSeries(series, YAXIS.S.idx, visible); | 157 addAxisSeries(series, YAXIS.S.idx, visible); |
148 } | 158 } |
149 | 159 |
150 | 160 |
161 | 171 |
162 for (SQ sq: sqs) { | 172 for (SQ sq: sqs) { |
163 series.add(sq.getQ(), sq.getS()); | 173 series.add(sq.getQ(), sq.getS()); |
164 } | 174 } |
165 | 175 |
176 if (logger.isDebugEnabled()) { | |
177 logger.debug("Series '" + f.getDescription() + "' has " | |
178 + series.getItemCount() + " items."); | |
179 | |
180 logger.debug(" -> min x = " + series.getMinX()); | |
181 logger.debug(" -> max x = " + series.getMaxX()); | |
182 logger.debug(" -> min y = " + series.getMinY()); | |
183 logger.debug(" -> max y = " + series.getMaxY()); | |
184 } | |
185 | |
166 addAxisSeries(series, YAXIS.S.idx, visible); | 186 addAxisSeries(series, YAXIS.S.idx, visible); |
167 } | 187 } |
168 } | 188 } |
169 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 189 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |