diff gnv-artifacts/src/main/java/de/intevation/gnv/chart/DefaultHistogram.java @ 1107:86ca3c10523f

Adjust the format of axes labels in histograms corresponding the specified locale (issue316). gnv-artifacts/trunk@1238 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 29 Jun 2010 07:37:36 +0000
parents bb2679624c6a
children f953c9a559d8
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/chart/DefaultHistogram.java	Tue Jun 29 07:09:13 2010 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/chart/DefaultHistogram.java	Tue Jun 29 07:37:36 2010 +0000
@@ -1,5 +1,6 @@
 package de.intevation.gnv.chart;
 
+import java.util.Locale;
 import java.util.Map;
 
 import org.apache.log4j.Logger;
@@ -77,6 +78,7 @@
     ) {
         super(labels, data, theme);
         this.requestParameter = requestParameter;
+        this.locale           = (Locale) requestParameter.get("locale");
     }
 
 

http://dive4elements.wald.intevation.org