|
||||||||||
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.targetcharts.TargetCharts
public class TargetCharts
Field Summary | |
---|---|
static java.lang.String |
BASELINES
|
TargetThreshold |
bottomThreshold
|
protected org.jfree.data.time.Month |
firstMonth
|
protected org.jfree.data.time.Month |
lastMonth
|
protected java.lang.String |
lastYear
|
double |
LOSE
|
java.lang.Double |
mainThreshold
|
static java.lang.String |
MAXIMUM_BAR_WIDTH
the maximum bar width, which is specified as a percentage of the available space for all bars For Example setting to 0.05 will ensure that the bars never exceed five per cent of the lenght of the axis |
static java.lang.String |
MONTH_DS
|
static java.lang.String |
STYLE_VALUE_LABELS
Style of labels visualization |
static java.lang.String |
TARGETS
|
java.util.HashMap<java.lang.Double,TargetThreshold> |
thresholds
|
protected org.jfree.data.time.TimeSeries |
timeSeries
|
boolean |
useTargets
|
static java.lang.String |
VALUE_DS
|
double |
WIN
|
static java.lang.String |
WLT_MODE
Visualization of labels, possible values are from 0.0 to 5.0 |
static java.lang.String |
YEAR_DS
|
protected java.util.TreeSet<java.lang.String> |
yearsDefined
|
Constructor Summary | |
---|---|
TargetCharts()
|
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.LegendItemCollection |
createThresholdLegend(org.jfree.chart.plot.Plot plot)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public double WIN
public double LOSE
public boolean useTargets
public java.util.HashMap<java.lang.Double,TargetThreshold> thresholds
public TargetThreshold bottomThreshold
public java.lang.Double mainThreshold
protected final org.jfree.data.time.TimeSeries timeSeries
protected java.util.TreeSet<java.lang.String> yearsDefined
protected org.jfree.data.time.Month firstMonth
protected org.jfree.data.time.Month lastMonth
protected java.lang.String lastYear
public static final java.lang.String TARGETS
public static final java.lang.String BASELINES
public static final java.lang.String MAXIMUM_BAR_WIDTH
public static final java.lang.String WLT_MODE
public static final java.lang.String STYLE_VALUE_LABELS
public static final java.lang.String YEAR_DS
public static final java.lang.String MONTH_DS
public static final java.lang.String VALUE_DS
Constructor Detail |
---|
public TargetCharts()
Method Detail |
---|
public DatasetMap calculateValue() throws java.lang.Exception
IChart
calculateValue
in interface IChart
calculateValue
in class ChartImpl
java.lang.Exception
- the exceptionpublic void configureChart(it.eng.spago.base.SourceBean content)
ChartImpl
configureChart
in interface IChart
configureChart
in class ChartImpl
content
- the contentpublic org.jfree.chart.LegendItemCollection createThresholdLegend(org.jfree.chart.plot.Plot plot)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |