it.eng.spagobi.engines.kpi.bo.charttypes.dialcharts
Class Thermometer

java.lang.Object
  extended by it.eng.spagobi.engines.kpi.bo.ChartImpl
      extended by it.eng.spagobi.engines.kpi.bo.charttypes.dialcharts.Thermometer

public class Thermometer
extends ChartImpl

Author:
Chiara Chiarelli

Field Summary
 
Fields inherited from class it.eng.spagobi.engines.kpi.bo.ChartImpl
color, dataset, height, intervals, legend, lower, name, profile, show_axis, styleSubTitle, styleTitle, subName, target, upper, width
 
Constructor Summary
Thermometer()
          Instantiates a new thermometer.
 
Method Summary
 void configureChart(java.util.HashMap conf)
          This function configures the chart with the parameters passed in the config HashMap
 org.jfree.chart.JFreeChart createChart()
          Creates a chart of type thermometer.
 java.lang.String setThresholds(java.util.List thresholds)
          This function fills up the vector "intervals" with the intervals of the chart, getting them from a list of Thresholds
 
Methods inherited from class it.eng.spagobi.engines.kpi.bo.ChartImpl
calculateValue, createChart, getColor, getHeight, getName, getProfile, getValueDataSet, getWidth, isLegend, setColor, setHeight, setLegend, setName, setProfile, setShowAxis, setStyleTitle, setSubName, setTarget, setValueDataSet, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Thermometer

public Thermometer()
Instantiates a new thermometer.

Method Detail

configureChart

public void configureChart(java.util.HashMap conf)
Description copied from class: ChartImpl
This function configures the chart with the parameters passed in the config HashMap

Overrides:
configureChart in class ChartImpl

setThresholds

public java.lang.String setThresholds(java.util.List thresholds)
Description copied from class: ChartImpl
This function fills up the vector "intervals" with the intervals of the chart, getting them from a list of Thresholds

Overrides:
setThresholds in class ChartImpl

createChart

public org.jfree.chart.JFreeChart createChart()
Creates a chart of type thermometer.

Overrides:
createChart in class ChartImpl
Returns:
A chart thermometer.