view gnv-artifacts/src/main/java/de/intevation/gnv/chart/Insets.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 7fb9441dd8af
children
line wrap: on
line source
/* Copyright (C) 2007 con terra GmbH (http://www.conterra.de)
 * All rights reserved
 *
 * $Id: Insets.java,v 1.1 2007/12/10 13:57:13 drewnak Exp $
 *
 * created by:      drewnak
 * created at :     10.12.2007
 * created at :     13:31:12
 *
 * modified by:     $Author: drewnak $
 * modified at:     $Date: 2007/12/10 13:57:13 $
 */
package de.intevation.gnv.chart;

public class Insets {
    public double mUpper;
    public double mLower;
    public double mLeft;
    public double mRight;

    /**
     * @param pUpper
     * @param pLower
     * @param pLeft
     * @param pRight
     */
    public Insets(double pUpper, double pLeft, double pLower, double pRight) {
        super();
        mUpper = pUpper;
        mLower = pLower;
        mLeft = pLeft;
        mRight = pRight;
    }
}

http://dive4elements.wald.intevation.org