org.sf.charttaglibs.charts
Class CategoryBasedChart
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.sf.charttaglibs.BaseHandlerTag
org.sf.charttaglibs.BaseChartTag
org.sf.charttaglibs.charts.CategoryBasedChart
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- Direct Known Subclasses:
- AreaTag, BarTag, LineTag, StackedAreaTag, StackedBarTag, WaterfallTag
- public abstract class CategoryBasedChart
- extends BaseChartTag
Abstract class theat implement the common method of all category based chart
- Author:
- mmohamed |at| dcc |dot| uchile |dot| cl
- See Also:
- Serialized Form
| Fields inherited from class org.sf.charttaglibs.BaseChartTag |
antiAlias, bgAlpha, bgColor, chart, chartborder, chartHight, chartWidth, createLegend, createTooltip, createUrl, fgAlpha, src, subtitle, subtitlePosition, title, titlePosition, usemap |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Methods inherited from class org.sf.charttaglibs.BaseChartTag |
doEndTag, doStartTag, getAntiAlias, getBgAlpha, getBgColor, getChart, getChartborder, getChartHight, getChartWidth, getCreateLegend, getCreateUrl, getFgAlpha, getFileName, getIterator, getSrc, getSubtitle, getSubtitlePosition, getTitle, getTitlePosition, getUsemap, initChart, isCreateTooltip, setAntiAlias, setBgAlpha, setBgColor, setChart, setChartborder, setChartHight, setChartWidth, setCreateLegend, setCreateTooltip, setCreateUrl, setFgAlpha, setSrc, setSubtitle, setSubtitlePosition, setTitle, setTitlePosition, setUsemap |
| Methods inherited from class org.sf.charttaglibs.BaseHandlerTag |
getAlign, getAlt, getBorder, getElementClose, getHeight, getHspace, getIsmap, getName, getOnabort, getOnblur, getOnclick, getOnerror, getOnfocus, getOnload, getVspace, getWidth, isXhtml, lookupProperty, prepareAttribute, prepareHtmlElements, prepareJavaScriptsEvent, prepareOtherAttributes, setAlign, setAlt, setBorder, setHeight, setHspace, setIsmap, setName, setOnabort, setOnblur, setOnclick, setOnerror, setOnfocus, setOnload, setVspace, setWidth |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
collection
protected java.lang.String collection
category
protected java.lang.String category
serie
protected java.lang.String serie
value
protected java.lang.String value
domainAxisLabel
protected java.lang.String domainAxisLabel
rangeAxisLabel
protected java.lang.String rangeAxisLabel
plotOrientation
protected java.lang.String plotOrientation
threeD
protected boolean threeD
CategoryBasedChart
public CategoryBasedChart()
getDataSet
protected org.jfree.data.category.DefaultCategoryDataset getDataSet()
throws javax.servlet.jsp.JspException
- Getting the data set from the page
- Returns:
- DefaultCategoryDataset from the bar chart
- Throws:
javax.servlet.jsp.JspException - if the category, serie or value are not present in the bean
release
public void release()
- Release any acquired resources.
- Specified by:
release in interface javax.servlet.jsp.tagext.Tag- Overrides:
release in class BaseChartTag
getCategory
public java.lang.String getCategory()
setCategory
public void setCategory(java.lang.String category)
getCollection
public java.lang.String getCollection()
setCollection
public void setCollection(java.lang.String collection)
getDomainAxisLabel
public java.lang.String getDomainAxisLabel()
setDomainAxisLabel
public void setDomainAxisLabel(java.lang.String domainAxisLabel)
getPlotOrientation
public java.lang.String getPlotOrientation()
setPlotOrientation
public void setPlotOrientation(java.lang.String plotOrientation)
getRangeAxisLabel
public java.lang.String getRangeAxisLabel()
setRangeAxisLabel
public void setRangeAxisLabel(java.lang.String rangeAxisLabel)
getSerie
public java.lang.String getSerie()
setSerie
public void setSerie(java.lang.String serie)
getThreeD
public boolean getThreeD()
setThreeD
public void setThreeD(boolean threeD)
getValue
public java.lang.String getValue()
setValue
public void setValue(java.lang.String value)