comparison artifacts/src/main/java/org/dive4elements/river/exports/process/SedimentLoadProcessor.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 204905c16ade
children 9b8e8fc1f408
comparison
equal deleted inserted replaced
9122:b8e7f6becf78 9123:1cc7653ca84f
39 DiagramGenerator generator, 39 DiagramGenerator generator,
40 ArtifactAndFacet bundle, 40 ArtifactAndFacet bundle,
41 ThemeDocument theme, 41 ThemeDocument theme,
42 boolean visible) { 42 boolean visible) {
43 43
44 CallContext context = generator.getCallContext(); 44 CallContext context = generator.getContext();
45 XYSeries series = new StyledXYSeries(bundle.getFacetDescription(), 45 XYSeries series = new StyledXYSeries(bundle.getFacetDescription(),
46 false, // Handle NaN 46 false, // Handle NaN
47 theme); 47 theme);
48 Object data = bundle.getData(context); 48 Object data = bundle.getData(context);
49 String facetName = bundle.getFacetName(); 49 String facetName = bundle.getFacetName();

http://dive4elements.wald.intevation.org