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

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

public class Meter
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
Meter()
          Instantiates a new meter.
 
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 the MeterChart .
 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

Meter

public Meter()
Instantiates a new meter.

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 the MeterChart .

Overrides:
createChart in class ChartImpl
Returns:
A MeterChart .