|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.engines.kpi.bo.ChartImpl
it.eng.spagobi.engines.kpi.bo.charttypes.dialcharts.Speedometer
public class Speedometer
Field Summary |
---|
Fields inherited from class it.eng.spagobi.engines.kpi.bo.ChartImpl |
---|
color, dataset, height, intervals, legend, lower, name, profile, styleSubTitle, styleTitle, subName, target, upper, width |
Constructor Summary | |
---|---|
Speedometer()
Instantiates a new Speedometer. |
Method Summary | |
---|---|
void |
addInterval(KpiInterval interval)
Adds the interval. |
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 Speedometer. |
double |
getIncrement()
Gets the increment. |
java.util.Vector |
getIntervals()
Gets the intervals. |
int |
getMinorTickCount()
Gets the minor tick count. |
void |
setIncrement(double increment)
Sets the increment. |
void |
setMinorTickCount(int minorTickCount)
Sets the minor tick count. |
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, 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 |
---|
public Speedometer()
Method Detail |
---|
public void configureChart(java.util.HashMap conf)
ChartImpl
configureChart
in class ChartImpl
public java.lang.String setThresholds(java.util.List thresholds)
ChartImpl
setThresholds
in class ChartImpl
public org.jfree.chart.JFreeChart createChart()
createChart
in class ChartImpl
public java.util.Vector getIntervals()
public void addInterval(KpiInterval interval)
interval
- the intervalpublic double getIncrement()
public void setIncrement(double increment)
increment
- the new incrementpublic int getMinorTickCount()
public void setMinorTickCount(int minorTickCount)
minorTickCount
- the new minor tick count
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |