public class DisplayChartTag
extends javax.servlet.jsp.tagext.BodyTagSupport
Constructor and Description |
---|
DisplayChartTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
int |
doStartTag()
Render graph.
|
org.jfree.chart.JFreeChart |
getChart() |
Integer |
getHeight() |
Integer |
getWidth() |
void |
setChart(org.jfree.chart.JFreeChart chart) |
void |
setHeight(Integer height) |
void |
setWidth(Integer width) |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
public int doEndTag() throws javax.servlet.jsp.JspException
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.BodyTagSupport
javax.servlet.jsp.JspException
Tag.doEndTag()
public org.jfree.chart.JFreeChart getChart()
public void setChart(org.jfree.chart.JFreeChart chart)
chart
- the chart to setpublic Integer getHeight()
public void setHeight(Integer height)
height
- the desired height of the imagepublic Integer getWidth()
public void setWidth(Integer width)
width
- the desired height of the imageCopyright © 2015 OpenMRS Inc.. All rights reserved.