comparison artifacts/src/main/java/org/dive4elements/river/exports/process/MiddleBedHeightProcessor.java @ 9123:1cc7653ca84f

Cleanup of ChartGenerator and ChartGenerator2 code. Put some of the copy/pasted code into a common abstraction.
author gernotbelger
date Tue, 05 Jun 2018 19:21:16 +0200
parents 9ab967eb2c51
children 9b8e8fc1f408
comparison
equal deleted inserted replaced
9122:b8e7f6becf78 9123:1cc7653ca84f
41 public void doOut( 41 public void doOut(
42 DiagramGenerator generator, 42 DiagramGenerator generator,
43 ArtifactAndFacet bundle, 43 ArtifactAndFacet bundle,
44 ThemeDocument theme, 44 ThemeDocument theme,
45 boolean visible) { 45 boolean visible) {
46 CallContext context = generator.getCallContext(); 46 CallContext context = generator.getContext();
47 Map<String, String> metaData = bundle.getFacet().getMetaData(); 47 Map<String, String> metaData = bundle.getFacet().getMetaData();
48 yAxisLabel = metaData.get("Y"); 48 yAxisLabel = metaData.get("Y");
49 49
50 Object raw = bundle.getData(context); 50 Object raw = bundle.getData(context);
51 if (raw == null) { 51 if (raw == null) {

http://dive4elements.wald.intevation.org