diff -r 000000000000 -r 639991d0808a java/cewolf-1.0/src/main/java/de/laures/cewolf/taglib/tags/CombinedChartTag.java --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/java/cewolf-1.0/src/main/java/de/laures/cewolf/taglib/tags/CombinedChartTag.java Sat Feb 28 21:31:02 2009 +0100 @@ -0,0 +1,33 @@ +package de.laures.cewolf.taglib.tags; + +import de.laures.cewolf.taglib.AbstractChartDefinition; +import de.laures.cewolf.taglib.CombinedChartDefinition; +import de.laures.cewolf.taglib.PlotContainer; +import de.laures.cewolf.taglib.PlotDefinition; + + +/** + * Chart tag subclass to handle combined charts + * + * @author guido + * @author tbardzil + * + */ +public class CombinedChartTag extends AbstractChartTag implements PlotContainer { + + protected AbstractChartDefinition createChartDefinition() { + return new CombinedChartDefinition(); + } + + public void addPlot(PlotDefinition pd){ + ((CombinedChartDefinition) chartDefinition).addPlot(pd); + } + + /** + * Setter for property layout [tb] + * @param layout + */ + public void setLayout(String layout) { + ((CombinedChartDefinition) chartDefinition).setLayout(layout); + } +}