|
||||||||||
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.SimpleDial
public class SimpleDial
Field Summary | |
---|---|
static java.lang.String |
CHANGE_VIEW_HORIZONTAL
|
static java.lang.String |
CHANGE_VIEW_LABEL
|
static java.lang.String |
CHANGE_VIEW_LABEL1
|
static java.lang.String |
CHANGE_VIEW_LABEL2
|
static java.lang.String |
INCREMENT
|
static java.lang.String |
MINOR_TICK
CONF PARAMETERS: |
static java.lang.String |
ORIENTATION
|
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 | |
---|---|
SimpleDial()
Instantiates a new simple dial. |
Method Summary | |
---|---|
void |
addInterval(KpiInterval interval)
Adds the interval. |
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 the chart . |
boolean |
getChangeViewParameter(java.lang.String changePar)
Gets the change view parameter. |
java.lang.String |
getChangeViewParameterLabel(java.lang.String changePar,
int i)
Gets the change view parameter label. |
double |
getIncrement()
Gets the increment. |
java.util.Vector |
getIntervals()
Gets the intervals. |
int |
getMinorTickCount()
Gets the minor tick count. |
java.util.List |
getPossibleChangePars()
Gets the possible change pars. |
boolean |
isChangeableView()
Checks if is changeable view. |
void |
setChangeViewsParameter(java.lang.String changePar,
boolean how)
Sets the change views parameter. |
void |
setIncrement(double increment)
Sets the increment. |
void |
setMinorTickCount(int minorTickCount)
Sets the minor tick count. |
Methods inherited from class it.eng.spagobi.engines.chart.bo.charttypes.dialcharts.DialCharts |
---|
calculateValue, 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 CHANGE_VIEW_HORIZONTAL
public static final java.lang.String CHANGE_VIEW_LABEL
public static final java.lang.String CHANGE_VIEW_LABEL1
public static final java.lang.String CHANGE_VIEW_LABEL2
public static final java.lang.String MINOR_TICK
public static final java.lang.String ORIENTATION
public static final java.lang.String INCREMENT
Constructor Detail |
---|
public SimpleDial()
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 org.jfree.chart.JFreeChart createChart(DatasetMap datasets)
createChart
in interface IChart
createChart
in class DialCharts
chartTitle
- the chart title.dataset
- the dataset.
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 intervalpublic boolean isChangeableView()
IChart
isChangeableView
in interface IChart
isChangeableView
in class ChartImpl
public java.util.List getPossibleChangePars()
IChart
getPossibleChangePars
in interface IChart
getPossibleChangePars
in class ChartImpl
public void setChangeViewsParameter(java.lang.String changePar, boolean how)
IChart
setChangeViewsParameter
in interface IChart
setChangeViewsParameter
in class ChartImpl
changePar
- the change parhow
- the howpublic boolean getChangeViewParameter(java.lang.String changePar)
IChart
getChangeViewParameter
in interface IChart
getChangeViewParameter
in class ChartImpl
changePar
- the change par
public java.lang.String getChangeViewParameterLabel(java.lang.String changePar, int i)
IChart
getChangeViewParameterLabel
in interface IChart
getChangeViewParameterLabel
in class ChartImpl
changePar
- the change pari
- the i
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |