comparison artifacts/src/main/java/org/dive4elements/river/exports/ChartGenerator.java @ 6906:7a9cbb3a3d5a

Artifacts: Moved logic of ThemeUtils into ThemeDocument. TODO: Remove ThemeUtils
author Sascha L. Teichmann <teichmann@intevation.de>
date Fri, 23 Aug 2013 01:16:13 +0200
parents 1b35b2ddfc28
children 819481cc9195
comparison
equal deleted inserted replaced
6905:1b35b2ddfc28 6906:7a9cbb3a3d5a
455 TextStyle textStyle = null; 455 TextStyle textStyle = null;
456 LineStyle lineStyle = null; 456 LineStyle lineStyle = null;
457 457
458 // Get Themeing information and add legend item. 458 // Get Themeing information and add legend item.
459 if (theme != null) { 459 if (theme != null) {
460 textStyle = theme.parseTextStyle(); 460 textStyle = theme.parseComplexTextStyle();
461 lineStyle = theme.parseComplexLineStyle(); 461 lineStyle = theme.parseComplexLineStyle();
462 if (fa.getLabel() != null) { 462 if (fa.getLabel() != null) {
463 LegendItemCollection lic = new LegendItemCollection(); 463 LegendItemCollection lic = new LegendItemCollection();
464 LegendItemCollection old = plot.getFixedLegendItems(); 464 LegendItemCollection old = plot.getFixedLegendItems();
465 lic.add(createLegendItem(theme, fa.getLabel())); 465 lic.add(createLegendItem(theme, fa.getLabel()));

http://dive4elements.wald.intevation.org