railo.runtime.tag
Class Chart

java.lang.Object
  extended by railo.runtime.ext.tag.TagImpl
      extended by railo.runtime.ext.tag.BodyTagImpl
          extended by railo.runtime.tag.Chart
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public final class Chart
extends BodyTagImpl
implements Serializable

See Also:
Serialized Form

Field Summary
static Color COLOR_333333
           
static Color COLOR_666666
           
static Color COLOR_999999
           
static String FONT_ARIAL
           
static String FONT_ARIAL_UNICODE_MS
           
static String FONT_COURIER
           
static String FONT_TIMES
           
static int FORMAT_FLASH
           
static int FORMAT_GIF
           
static int FORMAT_JPG
           
static int FORMAT_PNG
           
static int PIE_SLICE_STYLE_SLICED
           
static int PIE_SLICE_STYLE_SOLID
           
static int SERIES_PLACEMENT_CLUSTER
           
static int SERIES_PLACEMENT_DEFAULT
           
static int SERIES_PLACEMENT_PERCENT
           
static int SERIES_PLACEMENT_STACKED
           
static int TIP_STYLE_FORMATS
           
static int TIP_STYLE_MOUSEDOWN
           
static int TIP_STYLE_MOUSEOVER
           
static int TIP_STYLE_NONE
           
 
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
 
Constructor Summary
Chart()
           
 
Method Summary
 void addChartSeries(ChartSeriesBean series)
           
 int doEndTag()
           
 int doStartTag()
           
 void release()
           
 void setBackgroundcolor(String strBackgroundColor)
           
 void setChartheight(double chartheight)
           
 void setChartwidth(double chartwidth)
           
 void setDatabackgroundcolor(String strDatabackgroundcolor)
           
 void setFont(String strFont)
           
 void setFontbold(boolean fontbold)
           
 void setFontitalic(boolean fontitalic)
           
 void setFontsize(double fontsize)
           
 void setForegroundcolor(String strForegroundcolor)
           
 void setFormat(String strFormat)
           
 void setGridlines(double gridlines)
           
 void setLabelformat(String strLabelFormat)
           
 void setMarkersize(double markersize)
           
 void setName(String name)
           
 void setPieslicestyle(String strPieslicestyle)
           
 void setScalefrom(double scaletrom)
           
 void setScaleto(double scaleto)
           
 void setSeriesplacement(String strSeriesplacement)
           
 void setShow3d(boolean show3d)
           
 void setShowborder(boolean showborder)
           
 void setShowlegend(boolean showlegend)
           
 void setShowmarkers(boolean showmarkers)
           
 void setShowtooltip(boolean showtooltip)
           
 void setShowxgridlines(boolean showxgridlines)
           
 void setShowxlabel(boolean showXLabel)
           
 void setShowygridlines(boolean showygridlines)
           
 void setSortxaxis(boolean sortxaxis)
           
 void setSource(String source)
           
 void setStyle(String style)
           
 void setTipbgcolor(String strTipbgcolor)
           
 void setTipstyle(String strTipstyle)
           
 void setTitle(String title)
           
 void setUrl(String url)
           
 void setXaxistitle(String xaxistitle)
           
 void setXaxistype(String xaxistype)
           
 void setXoffset(double xoffset)
           
 void setYaxistitle(String yaxistitle)
           
 void setYaxistype(String yaxistype)
           
 void setYoffset(double yoffset)
           
 
Methods inherited from class railo.runtime.ext.tag.BodyTagImpl
doAfterBody, doInitBody, setBodyContent
 
Methods inherited from class railo.runtime.ext.tag.TagImpl
getParent, required, required, required, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Field Detail

COLOR_999999

public static final Color COLOR_999999

COLOR_666666

public static final Color COLOR_666666

COLOR_333333

public static final Color COLOR_333333

FONT_ARIAL

public static final String FONT_ARIAL
See Also:
Constant Field Values

FONT_TIMES

public static final String FONT_TIMES
See Also:
Constant Field Values

FONT_COURIER

public static final String FONT_COURIER
See Also:
Constant Field Values

FONT_ARIAL_UNICODE_MS

public static final String FONT_ARIAL_UNICODE_MS
See Also:
Constant Field Values

FORMAT_GIF

public static final int FORMAT_GIF
See Also:
Constant Field Values

FORMAT_JPG

public static final int FORMAT_JPG
See Also:
Constant Field Values

FORMAT_PNG

public static final int FORMAT_PNG
See Also:
Constant Field Values

FORMAT_FLASH

public static final int FORMAT_FLASH
See Also:
Constant Field Values

PIE_SLICE_STYLE_SOLID

public static final int PIE_SLICE_STYLE_SOLID
See Also:
Constant Field Values

PIE_SLICE_STYLE_SLICED

public static final int PIE_SLICE_STYLE_SLICED
See Also:
Constant Field Values

SERIES_PLACEMENT_DEFAULT

public static final int SERIES_PLACEMENT_DEFAULT
See Also:
Constant Field Values

SERIES_PLACEMENT_CLUSTER

public static final int SERIES_PLACEMENT_CLUSTER
See Also:
Constant Field Values

SERIES_PLACEMENT_STACKED

public static final int SERIES_PLACEMENT_STACKED
See Also:
Constant Field Values

SERIES_PLACEMENT_PERCENT

public static final int SERIES_PLACEMENT_PERCENT
See Also:
Constant Field Values

TIP_STYLE_NONE

public static final int TIP_STYLE_NONE
See Also:
Constant Field Values

TIP_STYLE_FORMATS

public static final int TIP_STYLE_FORMATS
See Also:
Constant Field Values

TIP_STYLE_MOUSEDOWN

public static final int TIP_STYLE_MOUSEDOWN
See Also:
Constant Field Values

TIP_STYLE_MOUSEOVER

public static final int TIP_STYLE_MOUSEOVER
See Also:
Constant Field Values
Constructor Detail

Chart

public Chart()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class BodyTagImpl

setShowxlabel

public void setShowxlabel(boolean showXLabel)

setSource

public void setSource(String source)

setShowtooltip

public void setShowtooltip(boolean showtooltip)

setBackgroundcolor

public void setBackgroundcolor(String strBackgroundColor)
                        throws ExpressionException
Throws:
ExpressionException

setDatabackgroundcolor

public void setDatabackgroundcolor(String strDatabackgroundcolor)
                            throws ExpressionException
Throws:
ExpressionException

setForegroundcolor

public void setForegroundcolor(String strForegroundcolor)
                        throws ExpressionException
Throws:
ExpressionException

setTipbgcolor

public void setTipbgcolor(String strTipbgcolor)
                   throws ExpressionException
Throws:
ExpressionException

setChartheight

public void setChartheight(double chartheight)

setChartwidth

public void setChartwidth(double chartwidth)

setFont

public void setFont(String strFont)

setFontbold

public void setFontbold(boolean fontbold)

setFontitalic

public void setFontitalic(boolean fontitalic)

setFontsize

public void setFontsize(double fontsize)

setFormat

public void setFormat(String strFormat)
               throws ExpressionException
Throws:
ExpressionException

setGridlines

public void setGridlines(double gridlines)

setLabelformat

public void setLabelformat(String strLabelFormat)
                    throws ExpressionException
Throws:
ExpressionException

setMarkersize

public void setMarkersize(double markersize)
                   throws ExpressionException
Throws:
ExpressionException

setName

public void setName(String name)

setPieslicestyle

public void setPieslicestyle(String strPieslicestyle)
                      throws ExpressionException
Throws:
ExpressionException

setScaleto

public void setScaleto(double scaleto)

setScalefrom

public void setScalefrom(double scaletrom)

setSeriesplacement

public void setSeriesplacement(String strSeriesplacement)
                        throws ExpressionException
Throws:
ExpressionException

setShow3d

public void setShow3d(boolean show3d)

setShowborder

public void setShowborder(boolean showborder)

setShowlegend

public void setShowlegend(boolean showlegend)

setShowmarkers

public void setShowmarkers(boolean showmarkers)

setShowxgridlines

public void setShowxgridlines(boolean showxgridlines)

setShowygridlines

public void setShowygridlines(boolean showygridlines)

setSortxaxis

public void setSortxaxis(boolean sortxaxis)

setStyle

public void setStyle(String style)

setTitle

public void setTitle(String title)

setTipstyle

public void setTipstyle(String strTipstyle)
                 throws ExpressionException
Throws:
ExpressionException

setXaxistitle

public void setXaxistitle(String xaxistitle)
Parameters:
xaxistitle - the xaxistitle to set

setYaxistitle

public void setYaxistitle(String yaxistitle)
Parameters:
yaxistitle - the yaxistitle to set

addChartSeries

public void addChartSeries(ChartSeriesBean series)

doStartTag

public int doStartTag()
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagImpl

doEndTag

public int doEndTag()
             throws PageException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class TagImpl
Throws:
PageException

setUrl

public void setUrl(String url)
Parameters:
url - the url to set

setXoffset

public void setXoffset(double xoffset)
Parameters:
xoffset - the xoffset to set

setYoffset

public void setYoffset(double yoffset)
Parameters:
yoffset - the yoffset to set

setYaxistype

public void setYaxistype(String yaxistype)
Parameters:
yaxistype - the yaxistype to set

setXaxistype

public void setXaxistype(String xaxistype)
Parameters:
yaxistype - the yaxistype to set


Copyright © 2012 Railo