comparison artifacts/src/main/java/org/dive4elements/river/exports/process/ManualPointsProcessor.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 5e38e2924c07
children 9b8e8fc1f408
comparison
equal deleted inserted replaced
9122:b8e7f6becf78 9123:1cc7653ca84f
38 public void doOut( 38 public void doOut(
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 CallContext context = generator.getCallContext(); 43 CallContext context = generator.getContext();
44 String seriesName = bundle.getFacetDescription(); 44 String seriesName = bundle.getFacetDescription();
45 XYSeries series = new StyledXYSeries(seriesName, theme); 45 XYSeries series = new StyledXYSeries(seriesName, theme);
46 String jsonData = (String) bundle.getData(context); 46 String jsonData = (String) bundle.getData(context);
47 47
48 // Add text annotations for single points. 48 // Add text annotations for single points.

http://dive4elements.wald.intevation.org