view flys-artifacts/src/main/java/de/intevation/flys/themes/LineStyle.java @ 5673:e1ba8273df07

Add saveguard not to include 0 in a scale for logarithmic axes Including 0 or allowing negative values triggers a bug in the jfreechart logarithmic axis code that causes values < 1 to be drawn in carthesic coordinates. Fixes: flys/issue12345
author Andre Heinecke <aheinecke@intevation.de>
date Fri, 12 Apr 2013 12:23:53 +0200
parents 0b9b2a0c4e64
children
line wrap: on
line source
package de.intevation.flys.themes;

import java.awt.Color;

public class LineStyle {
    protected Color lineColor;
    protected int   lineWidth;

    public LineStyle(Color color, int width) {
        this.lineColor = color;
        this.lineWidth = width;
    }

    public int getWidth() {
        return lineWidth;
    }

    public Color getColor() {
        return lineColor;
    }
}

http://dive4elements.wald.intevation.org