com.jalios.jcms.analytics
Class AbstractFlotChart

java.lang.Object
  extended by com.jalios.jcms.analytics.AbstractFlotChart
Direct Known Subclasses:
FlotChart, FlotPieChart

public abstract class AbstractFlotChart
extends Object


Field Summary
protected  String externalLegend
           
protected  String height
           
protected  String jsDisplayEventName
           
protected  String name
           
protected  String selectableLegend
           
protected  String width
           
 
Constructor Summary
AbstractFlotChart()
           
 
Method Summary
 void addOptions(String option)
           
protected  void appendJSOptionsCode(StringBuilder jsSB)
           
protected  void appendPlotActionCode(StringBuilder jsSB)
           
protected  StringBuilder generateBasicHtmlBuffer()
           
protected  StringBuilder generateHtmlBuffer()
           
protected  StringBuilder generateHtmlBufferWithLegend()
           
protected abstract  StringBuilder generateJSBuffer()
           
 String getExternalLegend()
           
 String getHeight()
           
 String getJsDisplayEventName()
           
protected  String getJSONArray(Map<Date,Double> value)
           
 String getName()
           
 List<String> getOptionsList()
           
 String getSelectableLegend()
           
 String getWidth()
           
 void setExternalLegend(String useExternalLegend)
           
 void setHeight(String height)
           
 void setJsDisplayEventName(String jsDisplayEventName)
           
 void setName(String name)
           
 void setOptionsList(List<String> optionsList)
           
 void setSelectableLegend(String useSelectableLegend)
           
 void setWidth(String width)
           
 void write(javax.servlet.jsp.PageContext pageContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jsDisplayEventName

protected String jsDisplayEventName

name

protected String name

width

protected String width

height

protected String height

externalLegend

protected String externalLegend

selectableLegend

protected String selectableLegend
Constructor Detail

AbstractFlotChart

public AbstractFlotChart()
Method Detail

addOptions

public void addOptions(String option)

getOptionsList

public List<String> getOptionsList()

setOptionsList

public void setOptionsList(List<String> optionsList)

getJsDisplayEventName

public String getJsDisplayEventName()

setJsDisplayEventName

public void setJsDisplayEventName(String jsDisplayEventName)

getName

public String getName()

setName

public void setName(String name)

getWidth

public String getWidth()

setWidth

public void setWidth(String width)

getHeight

public String getHeight()

setHeight

public void setHeight(String height)

getExternalLegend

public String getExternalLegend()

setExternalLegend

public void setExternalLegend(String useExternalLegend)

getSelectableLegend

public String getSelectableLegend()

setSelectableLegend

public void setSelectableLegend(String useSelectableLegend)

write

public void write(javax.servlet.jsp.PageContext pageContext)
           throws IOException
Throws:
IOException

generateJSBuffer

protected abstract StringBuilder generateJSBuffer()

appendJSOptionsCode

protected void appendJSOptionsCode(StringBuilder jsSB)

appendPlotActionCode

protected void appendPlotActionCode(StringBuilder jsSB)

generateHtmlBuffer

protected StringBuilder generateHtmlBuffer()

generateBasicHtmlBuffer

protected StringBuilder generateBasicHtmlBuffer()

generateHtmlBufferWithLegend

protected StringBuilder generateHtmlBufferWithLegend()

getJSONArray

protected String getJSONArray(Map<Date,Double> value)


Copyright © 2001-2010 Jalios SA. All Rights Reserved.