# HG changeset patch # User Tom Gottfried # Date 1409586622 -7200 # Node ID 16be0ceee25bbd420ef4489b1513c094f5b3bd10 # Parent f2bbe09e516ec1385d047e363c0b3942a693088a Only calculated sums of fractions should be initially shown in diagram. diff -r f2bbe09e516e -r 16be0ceee25b artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/SedimentLoadDataCalculate.java --- a/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/SedimentLoadDataCalculate.java Mon Sep 01 12:34:39 2014 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/SedimentLoadDataCalculate.java Mon Sep 01 17:50:22 2014 +0200 @@ -59,7 +59,12 @@ Facet facet, String output ) { - return null; + String name = facet.getName(); + if (name.endsWith("total") || name.endsWith("bed_load") + || name.endsWith("bed_load_susp_sand")) { + return Boolean.TRUE; + } + return Boolean.FALSE; } }); }