# HG changeset patch # User Christian Lins # Date 1340269423 0 # Node ID 459750878157ee5106781c51652f0000ac6150c6 # Parent bac0b27214510e31649ba098b9ff36e13eb8622b Adapt doAverageSectorOut() to reflect changes of corresponding facet. flys-artifacts/trunk@4735 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r bac0b2721451 -r 459750878157 flys-artifacts/ChangeLog --- a/flys-artifacts/ChangeLog Wed Jun 20 16:10:59 2012 +0000 +++ b/flys-artifacts/ChangeLog Thu Jun 21 09:03:43 2012 +0000 @@ -1,3 +1,8 @@ +2012-06-21 Christian Lins + + * src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java: + Adapt doAverageSectorOut() to reflect changes in Facet. + 2012-06-20 Raimund Renkert Added delta W(t) chart in fix analysis. diff -r bac0b2721451 -r 459750878157 flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java --- a/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java Wed Jun 20 16:10:59 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/fixings/FixWQCurveGenerator.java Thu Jun 21 09:03:43 2012 +0000 @@ -89,16 +89,11 @@ protected void doSectorAverageOut(ArtifactAndFacet aaf, Document doc, boolean visible) { logger.debug("doSectorAverageOut"); - QWD[] qwds = (QWD[])aaf.getData(context); + QWD qwd = (QWD)aaf.getData(context); - if(qwds != null) { + if(qwd != null) { XYSeries series = new StyledXYSeries(aaf.getFacetDescription(), doc); - for(QW qw : qwds) { - if(qw != null) { - series.add(qw.getQ(), qw.getW()); - } - } - + series.add(qwd.getQ(), qwd.getW()); addAxisSeries(series, 0, visible); } }