Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/TimeseriesChartGenerator.java @ 4023:e064e781d255
Merged.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 04 Oct 2012 11:27:06 +0200 |
parents | 7cc05da7e35c |
children | 7eebd9e58641 |
comparison
equal
deleted
inserted
replaced
4022:017e3d8526e0 | 4023:e064e781d255 |
---|---|
226 addDomainAxisMarker(plot); | 226 addDomainAxisMarker(plot); |
227 addValueAxisMarker(plot); | 227 addValueAxisMarker(plot); |
228 adaptZoom(plot); | 228 adaptZoom(plot); |
229 | 229 |
230 applySeriesAttributes(plot); | 230 applySeriesAttributes(plot); |
231 | |
231 addAnnotationsToRenderer(plot); | 232 addAnnotationsToRenderer(plot); |
232 addLogo(plot); | 233 addLogo(plot); |
233 aggregateLegendEntries(plot); | 234 aggregateLegendEntries(plot); |
234 return chart; | 235 return chart; |
235 } | 236 } |
768 for (int j = 0; j < seriesCount; j++) { | 769 for (int j = 0; j < seriesCount; j++) { |
769 StyledTimeSeries series = | 770 StyledTimeSeries series = |
770 (StyledTimeSeries)getSeriesOf(data, j); | 771 (StyledTimeSeries)getSeriesOf(data, j); |
771 String key = series.getKey().toString(); | 772 String key = series.getKey().toString(); |
772 if (attributes.containsKey(key)) { | 773 if (attributes.containsKey(key)) { |
774 // Interpolated points are drawn unfilled | |
773 if (attributes.get(key).equals("interpolate")) { | 775 if (attributes.get(key).equals("interpolate")) { |
774 XYLineAndShapeRenderer renderer = | 776 XYLineAndShapeRenderer renderer = |
775 series.getStyle().getRenderer(); | 777 series.getStyle().getRenderer(); |
776 renderer.setSeriesPaint( | 778 renderer.setSeriesPaint( |
777 j, | 779 j, |