Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/state/describedata/DefaultSingleValueDescribeData.java @ 364:2413273f1c13
Workarround: Store lower and upper bounds of data while iterating over all data and set the max range of axes with these information. JFreeCharts method NumberAxis.setAutoRange(true) doesn't seem to work properly.
gnv-artifacts/trunk@439 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 16 Dec 2009 11:58:44 +0000 |
parents | e964a3d8f7bc |
children | a6a33ef35809 |
line wrap: on
line source
/** * */ package de.intevation.gnv.state.describedata; /** * @author Tim Englich <tim.englich@intevation.de> * */ public class DefaultSingleValueDescribeData implements SingleValueDescribeData { /** * */ private static final long serialVersionUID = 3580176842483316917L; private String name = null; private String value = null; /** * Constructor * * @param name * @param value */ public DefaultSingleValueDescribeData(String name, String value) { super(); this.name = name; this.value = value; } /** * @see de.intevation.gnv.state.describedata.SingleValueDescribeData#getName() */ public String getName() { return this.name; } /** * @see de.intevation.gnv.state.describedata.SingleValueDescribeData#getValue() */ public String getValue() { return this.value; } public void setValue(String value) { this.value = value; } }