Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/exports/process/ShearStressProcessor.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 |
---|---|
35 public void doOut( | 35 public void doOut( |
36 DiagramGenerator generator, | 36 DiagramGenerator generator, |
37 ArtifactAndFacet bundle, | 37 ArtifactAndFacet bundle, |
38 ThemeDocument theme, | 38 ThemeDocument theme, |
39 boolean visible) { | 39 boolean visible) { |
40 CallContext context = generator.getCallContext(); | 40 CallContext context = generator.getContext(); |
41 XYSeries series = new StyledXYSeries(bundle.getFacetDescription(), | 41 XYSeries series = new StyledXYSeries(bundle.getFacetDescription(), |
42 theme); | 42 theme); |
43 String facetName = bundle.getFacetName(); | 43 String facetName = bundle.getFacetName(); |
44 FlowVelocityData data = (FlowVelocityData) bundle.getData(context); | 44 FlowVelocityData data = (FlowVelocityData) bundle.getData(context); |
45 | 45 |