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() |
java.lang.Integer |
getHeight() |
java.lang.Integer |
getWidth() |
void |
setChart(org.jfree.chart.JFreeChart chart) |
void |
setHeight(java.lang.Integer height) |
void |
setWidth(java.lang.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 java.lang.Integer getHeight()
public void setHeight(java.lang.Integer height)
height
- the desired height of the imagepublic java.lang.Integer getWidth()
public void setWidth(java.lang.Integer width)
width
- the desired height of the imageCopyright © 2018 OpenMRS Inc.. All Rights Reserved.