|
||||||||||
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.SimpleDial
public class SimpleDial
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 | |
---|---|
SimpleDial()
Instantiates a new simple dial. |
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 the chart . |
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, 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 |
---|
public SimpleDial()
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 double getIncrement()
public void setIncrement(double increment)
increment
- the new incrementpublic int getMinorTickCount()
public void setMinorTickCount(int minorTickCount)
minorTickCount
- the new minor tick countpublic java.util.Vector getIntervals()
public void addInterval(KpiInterval interval)
interval
- the interval
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |