1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/java/cewolf-1.0/src/main/java/de/laures/cewolf/taglib/tags/SimpleChartTag.java Sat Feb 28 21:31:02 2009 +0100
1.3 @@ -0,0 +1,32 @@
1.4 +/*
1.5 + * Created on 13.04.2003
1.6 + *
1.7 + * To change the template for this generated file go to
1.8 + * Window>Preferences>Java>Code Generation>Code and Comments
1.9 + */
1.10 +package de.laures.cewolf.taglib.tags;
1.11 +
1.12 +import java.util.Map;
1.13 +
1.14 +import de.laures.cewolf.DatasetProducer;
1.15 +import de.laures.cewolf.taglib.AbstractChartDefinition;
1.16 +import de.laures.cewolf.taglib.DataAware;
1.17 +import de.laures.cewolf.taglib.SimpleChartDefinition;
1.18 +
1.19 +/**
1.20 + * @author guido
1.21 + *
1.22 + * To change the template for this generated type comment go to
1.23 + * Window>Preferences>Java>Code Generation>Code and Comments
1.24 + */
1.25 +public class SimpleChartTag extends AbstractChartTag implements DataAware{
1.26 +
1.27 + protected AbstractChartDefinition createChartDefinition() {
1.28 + return new SimpleChartDefinition();
1.29 + }
1.30 +
1.31 + public void setDataProductionConfig(DatasetProducer dsp, Map params, boolean useCache) {
1.32 + ((SimpleChartDefinition)chartDefinition).setDataProductionConfig(dsp, params, useCache);
1.33 + }
1.34 +
1.35 +}