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, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionTag.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.