view flys-artifacts/src/main/java/de/intevation/flys/jfree/FLYSAnnotation.java @ 1686:e8d1e531687a

Bugfix: #114 Enabled rendering charts with a single data point. flys-artifacts/trunk@2904 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 07 Oct 2011 13:15:48 +0000
parents 69929c471646
children 7e19449d7826
line wrap: on
line source
package de.intevation.flys.jfree;

import java.util.List;

import org.w3c.dom.Document;

import org.jfree.chart.annotations.XYTextAnnotation;


public class FLYSAnnotation {

    protected List<XYTextAnnotation> annotations;

    protected Document theme;

    protected String label;


    public FLYSAnnotation(String label, List<XYTextAnnotation> annotations) {
        this.label       = label;
        this.annotations = annotations;
    }

    public String getLabel() {
        return label;
    }

    public List<XYTextAnnotation> getAnnotations() {
        return annotations;
    }

    public void setTheme(Document theme) {
        this.theme = theme;
    }

    public Document getTheme() {
        return theme;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org