comparison flys-artifacts/src/main/java/de/intevation/flys/collections/FLYSArtifactCollection.java @ 1684:bdb05dc9b763

Bugfix: #353 Enabled chart's to be drawn with proper axes set even if no data is contained. flys-artifacts/trunk@2902 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 07 Oct 2011 10:51:09 +0000
parents 6566c7868456
children f643ea084213
comparison
equal deleted inserted replaced
1683:acb4d20b130e 1684:bdb05dc9b763
278 Artifact artifact = getArtifact(art, context); 278 Artifact artifact = getArtifact(art, context);
279 if (i == 0) { 279 if (i == 0) {
280 generator.setMasterArtifact(artifact); 280 generator.setMasterArtifact(artifact);
281 } 281 }
282 282
283 if (theme.getActive() == 0) {
284 continue;
285 }
286
287 generator.doOut( 283 generator.doOut(
288 artifact, 284 artifact,
289 theme, 285 theme,
290 getFacetThemeFromAttribute( 286 getFacetThemeFromAttribute(
291 art, 287 art,
292 outName, 288 outName,
293 facetName, 289 facetName,
294 theme.getIndex(), 290 theme.getIndex(),
295 context)); 291 context),
292 theme.getActive() == 1);
296 } 293 }
297 } 294 }
298 catch (ArtifactDatabaseException ade) { 295 catch (ArtifactDatabaseException ade) {
299 log.error(ade, ade); 296 log.error(ade, ade);
300 } 297 }

http://dive4elements.wald.intevation.org