Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/process/QOutProcessor.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 | 740d65e4aa14 |
comparison
equal
deleted
inserted
replaced
9122:b8e7f6becf78 | 9123:1cc7653ca84f |
---|---|
45 public void doOut( | 45 public void doOut( |
46 DiagramGenerator generator, | 46 DiagramGenerator generator, |
47 ArtifactAndFacet bundle, | 47 ArtifactAndFacet bundle, |
48 ThemeDocument theme, | 48 ThemeDocument theme, |
49 boolean visible) { | 49 boolean visible) { |
50 CallContext context = generator.getCallContext(); | 50 CallContext context = generator.getContext(); |
51 Object data = bundle.getData(context); | 51 Object data = bundle.getData(context); |
52 XYSeries series = new StyledXYSeries( | 52 XYSeries series = new StyledXYSeries( |
53 bundle.getFacetDescription(), theme); | 53 bundle.getFacetDescription(), theme); |
54 String facetName = bundle.getFacetName(); | 54 String facetName = bundle.getFacetName(); |
55 | 55 |
79 ArtifactAndFacet bundle, | 79 ArtifactAndFacet bundle, |
80 ThemeDocument theme, | 80 ThemeDocument theme, |
81 boolean visible, | 81 boolean visible, |
82 int index) | 82 int index) |
83 { | 83 { |
84 CallContext context = generator.getCallContext(); | 84 CallContext context = generator.getContext(); |
85 WQKms wqkms = (WQKms) bundle.getData(context); | 85 WQKms wqkms = (WQKms) bundle.getData(context); |
86 | 86 |
87 XYSeries series = new StyledXYSeries( | 87 XYSeries series = new StyledXYSeries( |
88 bundle.getFacetDescription(), theme); | 88 bundle.getFacetDescription(), theme); |
89 | 89 |