Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/process/BedDiffHeightYearProcessor.java @ 9556:9b8e8fc1f408
Use facetName in all processors as themeType for legend aggregation.
author | gernotbelger |
---|---|
date | Tue, 23 Oct 2018 16:26:58 +0200 |
parents | 1cc7653ca84f |
children |
comparison
equal
deleted
inserted
replaced
9555:ef5754ba5573 | 9556:9b8e8fc1f408 |
---|---|
56 } | 56 } |
57 | 57 |
58 double[][] bData = (double[][]) data; | 58 double[][] bData = (double[][]) data; |
59 | 59 |
60 StyledXYSeries series = | 60 StyledXYSeries series = |
61 new StyledXYSeries(bundle.getFacetDescription(), theme); | 61 new StyledXYSeries(bundle.getFacetName(), bundle.getFacetDescription(), theme); |
62 series.putMetaData(metaData, bundle.getArtifact(), context); | 62 series.putMetaData(metaData, bundle.getArtifact(), context); |
63 | 63 |
64 StyledSeriesBuilder.addPoints(series, bData, false, GAP_TOLERANCE); | 64 StyledSeriesBuilder.addPoints(series, bData, false, GAP_TOLERANCE); |
65 | 65 |
66 generator.addAxisSeries(series, axisName, visible); | 66 generator.addAxisSeries(series, axisName, visible); |
84 return; | 84 return; |
85 } | 85 } |
86 | 86 |
87 double[][] bData = (double[][]) data; | 87 double[][] bData = (double[][]) data; |
88 XYSeries series = | 88 XYSeries series = |
89 new StyledXYSeries(bundle.getFacetDescription(), theme); | 89 new StyledXYSeries(bundle.getFacetName(), bundle.getFacetDescription(), theme); |
90 StyledSeriesBuilder.addPoints(series, bData, false, GAP_TOLERANCE); | 90 StyledSeriesBuilder.addPoints(series, bData, false, GAP_TOLERANCE); |
91 | 91 |
92 generator.addAxisSeries(series, index, visible); | 92 generator.addAxisSeries(series, index, visible); |
93 } | 93 } |
94 | 94 |