Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledValueMarker.java @ 4283:7140bb0f92b0
Added new themes for W and Q markers in Historical Discharge WQ charts.
ThemeUtil.parseLineColorField() will now use parseColor() to parse the color string.
This enables using hex colors in theme configs.
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 29 Oct 2012 06:54:48 +0100 |
parents | 9422b559b2d5 |
children | 85876e3a5346 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledValueMarker.java Mon Oct 29 05:59:27 2012 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/jfree/StyledValueMarker.java Mon Oct 29 06:54:48 2012 +0100 @@ -19,7 +19,7 @@ public StyledValueMarker(double value, Document theme) { super(value); - Color color = ThemeUtil.parsePointColor(theme); + Color color = ThemeUtil.parseLineColorField(theme); if(color == null) { color = Color.BLACK; }