comparison flys-artifacts/ChangeLog @ 2667:b75681c09ef8

Respect area label bg text style, draw label roughly at centroid of polygons (sofar, better but not yet good). flys-artifacts/trunk@4346 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Fri, 04 May 2012 13:47:37 +0000
parents bcf4011fa3f1
children 53f42adf4505
comparison
equal deleted inserted replaced
2666:6da7e064ae90 2667:b75681c09ef8
1 2012-05-04 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2
3 * doc/conf/themes: Add text-bg properties to Area style.
4
5 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
6 (TextStyle.apply): Apply text bg theme-properties to renderer.
7
8 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
9 Cosmetics.
10
11 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
12 Added field to store labels background color, calculate arithmetic
13 middles of polygons, to put label there (improves situation slightly).
14
15 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
16
17 * src/main/java/de/intevation/flys/utils/ThemeUtil.java
18 (parseShowArea): parse show area field of theme.
19
20 * src/main/java/de/intevation/flys/themes/ThemeAccess.java
21 (TextStyle.apply): Be applicable to StableXYDifferenceRenderers.
22
23 * src/main/java/de/intevation/flys/jfree/StyledAreaSeriesCollection.java:
24 Apply setting from theme to renderer.
25
26 * src/main/java/de/intevation/flys/jfree/StableXYDifferenceRenderer.java:
27 Simplified area calculation (always calculate). Added getters and
28 setters for text for label style, respect most of that.
29
1 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de> 30 2012-05-03 Felix Wolfsteller <felix.wolfsteller@intevation.de>
2 31
3 * doc/conf/themes: Let Area style not inherit from colorlines (as labels 32 * doc/conf/themes: Let Area style not inherit from colorlines (as labels
4 work slightly different. Enable showarea property. Comment dupe Lines. 33 work slightly different. Enable showarea property. Comment dupe Lines.
5 34

http://dive4elements.wald.intevation.org