|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.engines.chart.bo.ChartImpl
it.eng.spagobi.engines.chart.bo.charttypes.dialcharts.DialCharts
it.eng.spagobi.engines.chart.bo.charttypes.dialcharts.SpeedometerMultiValue
public class SpeedometerMultiValue
A class to generate Speedometer charts with multi-needle
Field Summary | |
---|---|
static java.lang.String |
DIALTEXT
|
static java.lang.String |
DIALTEXTUSE
|
static java.lang.String |
INCREMENT
|
static java.lang.String |
MINOR_TICK
CONF PARAMETERS: |
static java.lang.String |
ORIENTATION
|
static java.lang.String |
VALUES_COLORS
Tag to color values |
Fields inherited from class it.eng.spagobi.engines.chart.bo.charttypes.dialcharts.DialCharts |
---|
COLOR_INTERVAL, INTERVAL, INTERVALS_NUMBER, LABEL_INTERVAL, LEGEND, lower, LOWER, MAX_INTERVAL, MIN_INTERVAL, MULTICHART, ORIENTATION_MULTICHART, STYLE_TICK_LABELS, STYLE_VALUE_LABEL, units, UNITS, upper, UPPER |
Constructor Summary | |
---|---|
SpeedometerMultiValue()
Instantiates a new sBI speedometer. |
Method Summary | |
---|---|
void |
addInterval(KpiInterval interval)
Adds the interval. |
DatasetMap |
calculateValue()
Inherited by IChart: calculates chart value. |
void |
configureChart(it.eng.spago.base.SourceBean content)
set parameters for the creation of the chart getting them from template or from LOV. |
org.jfree.chart.JFreeChart |
createChart(DatasetMap datasets)
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. |
java.util.Vector |
getValuesNames()
|
void |
setIncrement(double increment)
Sets the increment. |
void |
setMinorTickCount(int minorTickCount)
Sets the minor tick count. |
void |
setValuesNames(java.util.Vector valuesNames)
|
Methods inherited from class it.eng.spagobi.engines.chart.bo.charttypes.dialcharts.DialCharts |
---|
getConfParameters, getLower, getSbRow, getUnits, getUpper, isLovConfDefined, setConfParameters, setLovConfDefined, setLower, setSbRow, setUnits, setUpper |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VALUES_COLORS
public static final java.lang.String MINOR_TICK
public static final java.lang.String ORIENTATION
public static final java.lang.String INCREMENT
public static final java.lang.String DIALTEXTUSE
public static final java.lang.String DIALTEXT
Constructor Detail |
---|
public SpeedometerMultiValue()
Method Detail |
---|
public void configureChart(it.eng.spago.base.SourceBean content)
configureChart
in interface IChart
configureChart
in class DialCharts
content
- the content of the template.public DatasetMap calculateValue() throws java.lang.Exception
calculateValue
in interface IChart
calculateValue
in class DialCharts
java.lang.Exception
- the exceptionpublic org.jfree.chart.JFreeChart createChart(DatasetMap datasets)
createChart
in interface IChart
createChart
in class DialCharts
chartTitle
- the chart title.dataset
- the dataset.
public java.util.Vector getValuesNames()
public void setValuesNames(java.util.Vector valuesNames)
valuesNames
- the valuesNames to setpublic 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 |