Package com.jalios.jcms.analytics
Class AbstractFlotChart
- java.lang.Object
-
- com.jalios.jcms.analytics.AbstractFlotChart
-
- Direct Known Subclasses:
FlotChart
,FlotPieChart
public abstract class AbstractFlotChart extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
externalLegend
protected java.lang.String
height
protected java.lang.String
jsDisplayEventName
protected java.lang.String
name
protected java.lang.String
selectableLegend
protected java.lang.String
width
-
Constructor Summary
Constructors Constructor Description AbstractFlotChart()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addOptions(java.lang.String option)
protected void
appendJSOptionsCode(java.lang.StringBuilder jsSB)
protected void
appendPlotActionCode(java.lang.StringBuilder jsSB)
protected java.lang.StringBuilder
generateBasicHtmlBuffer()
protected java.lang.StringBuilder
generateHtmlBuffer()
protected java.lang.StringBuilder
generateHtmlBufferWithLegend()
protected abstract java.lang.StringBuilder
generateJSBuffer()
java.lang.String
getExternalLegend()
java.lang.String
getHeight()
java.lang.String
getJsDisplayEventName()
protected java.lang.String
getJSONArray(java.util.Map<java.util.Date,java.lang.Double> value)
java.lang.String
getName()
java.util.List<java.lang.String>
getOptionsList()
java.lang.String
getSelectableLegend()
java.lang.String
getWidth()
void
setExternalLegend(java.lang.String useExternalLegend)
void
setHeight(java.lang.String height)
void
setJsDisplayEventName(java.lang.String jsDisplayEventName)
void
setName(java.lang.String name)
void
setOptionsList(java.util.List<java.lang.String> optionsList)
void
setSelectableLegend(java.lang.String useSelectableLegend)
void
setWidth(java.lang.String width)
void
write(javax.servlet.jsp.PageContext pageContext)
-
-
-
Field Detail
-
jsDisplayEventName
protected java.lang.String jsDisplayEventName
-
name
protected java.lang.String name
-
width
protected java.lang.String width
-
height
protected java.lang.String height
-
externalLegend
protected java.lang.String externalLegend
-
selectableLegend
protected java.lang.String selectableLegend
-
-
Method Detail
-
addOptions
public void addOptions(java.lang.String option)
-
getOptionsList
public java.util.List<java.lang.String> getOptionsList()
-
setOptionsList
public void setOptionsList(java.util.List<java.lang.String> optionsList)
-
getJsDisplayEventName
public java.lang.String getJsDisplayEventName()
-
setJsDisplayEventName
public void setJsDisplayEventName(java.lang.String jsDisplayEventName)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getWidth
public java.lang.String getWidth()
-
setWidth
public void setWidth(java.lang.String width)
-
getHeight
public java.lang.String getHeight()
-
setHeight
public void setHeight(java.lang.String height)
-
getExternalLegend
public java.lang.String getExternalLegend()
-
setExternalLegend
public void setExternalLegend(java.lang.String useExternalLegend)
-
getSelectableLegend
public java.lang.String getSelectableLegend()
-
setSelectableLegend
public void setSelectableLegend(java.lang.String useSelectableLegend)
-
write
public void write(javax.servlet.jsp.PageContext pageContext) throws java.io.IOException
- Throws:
java.io.IOException
-
generateJSBuffer
protected abstract java.lang.StringBuilder generateJSBuffer()
-
appendJSOptionsCode
protected void appendJSOptionsCode(java.lang.StringBuilder jsSB)
-
appendPlotActionCode
protected void appendPlotActionCode(java.lang.StringBuilder jsSB)
-
generateHtmlBuffer
protected java.lang.StringBuilder generateHtmlBuffer()
-
generateBasicHtmlBuffer
protected java.lang.StringBuilder generateBasicHtmlBuffer()
-
generateHtmlBufferWithLegend
protected java.lang.StringBuilder generateHtmlBufferWithLegend()
-
getJSONArray
protected java.lang.String getJSONArray(java.util.Map<java.util.Date,java.lang.Double> value)
-
-