|
||||||||||
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
public class DialCharts
* @author Giulio Gavardi giulio.gavardi@eng.it
Field Summary | |
---|---|
static java.lang.String |
COLOR_INTERVAL
|
static java.lang.String |
INTERVAL
Tag to define INTERVAL and attributes (not used by all dial charts |
static java.lang.String |
INTERVALS_NUMBER
|
static java.lang.String |
LABEL_INTERVAL
|
static java.lang.String |
LEGEND
if to draw the legend |
protected double |
lower
|
static java.lang.String |
LOWER
Lower Bound |
static java.lang.String |
MAX_INTERVAL
|
static java.lang.String |
MIN_INTERVAL
|
static java.lang.String |
MULTICHART
multichart |
static java.lang.String |
ORIENTATION_MULTICHART
orientation multichart: can be horiontal o vertical |
static java.lang.String |
STYLE_TICK_LABELS
Style for tick labels |
static java.lang.String |
STYLE_VALUE_LABEL
Style for value labels |
protected java.lang.String |
units
|
static java.lang.String |
UNITS
Units |
protected double |
upper
|
static java.lang.String |
UPPER
Upper bound |
Constructor Summary | |
---|---|
DialCharts()
|
Method Summary | |
---|---|
DatasetMap |
calculateValue()
Calculate value. |
void |
configureChart(it.eng.spago.base.SourceBean content)
configureChart reads the content of the template and sets the chart parameters. |
org.jfree.chart.JFreeChart |
createChart(DatasetMap dataset)
This function creates the chart object. |
java.util.Map |
getConfParameters()
Gets the conf parameters. |
double |
getLower()
Gets the lower. |
it.eng.spago.base.SourceBean |
getSbRow()
Gets the sb row. |
java.lang.String |
getUnits()
|
double |
getUpper()
Gets the upper. |
boolean |
isLovConfDefined()
Checks if is lov conf defined. |
void |
setConfParameters(java.util.Map confParameters)
Sets the conf parameters. |
void |
setLovConfDefined(boolean isLovConfDefined)
Sets the lov conf defined. |
void |
setLower(double lower)
Sets the lower. |
void |
setSbRow(it.eng.spago.base.SourceBean sbRow)
Sets the sb row. |
void |
setUnits(java.lang.String units)
|
void |
setUpper(double upper)
Sets the upper. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected double lower
protected double upper
protected java.lang.String units
public static final java.lang.String STYLE_TICK_LABELS
public static final java.lang.String STYLE_VALUE_LABEL
public static final java.lang.String UPPER
public static final java.lang.String LOWER
public static final java.lang.String UNITS
public static final java.lang.String MULTICHART
public static final java.lang.String ORIENTATION_MULTICHART
public static final java.lang.String LEGEND
public static final java.lang.String INTERVAL
public static final java.lang.String LABEL_INTERVAL
public static final java.lang.String MIN_INTERVAL
public static final java.lang.String MAX_INTERVAL
public static final java.lang.String COLOR_INTERVAL
public static final java.lang.String INTERVALS_NUMBER
Constructor Detail |
---|
public DialCharts()
Method Detail |
---|
public org.jfree.chart.JFreeChart createChart(DatasetMap dataset)
ChartImpl
createChart
in interface IChart
createChart
in class ChartImpl
dataset
- the dataset
public void configureChart(it.eng.spago.base.SourceBean content)
ChartImpl
configureChart
in interface IChart
configureChart
in class ChartImpl
content
- the contentpublic DatasetMap calculateValue() throws java.lang.Exception
IChart
calculateValue
in interface IChart
calculateValue
in class ChartImpl
java.lang.Exception
- the exceptionpublic double getLower()
public void setLower(double lower)
lower
- the new lowerpublic double getUpper()
public void setUpper(double upper)
upper
- the new upperpublic boolean isLovConfDefined()
ChartImpl
isLovConfDefined
in class ChartImpl
public void setLovConfDefined(boolean isLovConfDefined)
ChartImpl
setLovConfDefined
in class ChartImpl
isLovConfDefined
- the new lov conf definedpublic java.util.Map getConfParameters()
public void setConfParameters(java.util.Map confParameters)
confParameters
- the new conf parameterspublic it.eng.spago.base.SourceBean getSbRow()
public void setSbRow(it.eng.spago.base.SourceBean sbRow)
sbRow
- the new sb rowpublic java.lang.String getUnits()
public void setUnits(java.lang.String units)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |