Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/main/java/de/intevation/gnv/chart/ChartLabels.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 | 1c427acb6c76 |
children | 79e80c289018 |
line wrap: on
line source
/* Copyright (C) 2007 con terra GmbH (http://www.conterra.de) * All rights reserved * * $Id: ChartLabels.java,v 1.1 2007/12/10 13:57:13 drewnak Exp $ * * created by: drewnak * created at : 10.12.2007 * created at : 11:48:39 * * modified by: $Author: drewnak $ * modified at: $Date: 2007/12/10 13:57:13 $ */ package de.intevation.gnv.chart; /** * @author drewnak * @author Tim Englich <tim.englich@intevation.de> Changes and codecleanup */ public class ChartLabels { /** * */ private String title; /** * */ private String subtitle; /** * */ private String domainAxisLabel; /** * Constructor * * @param title * @param domainAxisLabel */ public ChartLabels(String title, String subtitle, String domainAxisLabel) { this.title = title; this.subtitle = subtitle; this.domainAxisLabel = domainAxisLabel; } /** * @return the title */ public String getTitle() { return this.title; } /** * @return the subtitle */ public String getSubtitle() { return subtitle; } /** * @return the timeAxisLabel */ public String getDomainAxisLabel() { return this.domainAxisLabel; } }