comparison artifacts/src/main/java/org/dive4elements/river/exports/process/SedimentDensityProcessor.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 e4606eae8ea5
children 9b8e8fc1f408
comparison
equal deleted inserted replaced
9122:b8e7f6becf78 9123:1cc7653ca84f
39 public void doOut( 39 public void doOut(
40 DiagramGenerator generator, 40 DiagramGenerator generator,
41 ArtifactAndFacet bundle, 41 ArtifactAndFacet bundle,
42 ThemeDocument theme, 42 ThemeDocument theme,
43 boolean visible) { 43 boolean visible) {
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 theme); 46 theme);
47 Object data = bundle.getData(context); 47 Object data = bundle.getData(context);
48 String facetName = bundle.getFacetName(); 48 String facetName = bundle.getFacetName();
49 double [][] points; 49 double [][] points;

http://dive4elements.wald.intevation.org