public class JRFillTimeSeriesDataset extends JRFillChartDataset implements JRTimeSeriesDataset
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_SERIES_NULL_NAME |
protected JRFillTimeSeries[] |
timeSeries |
datasetRun, incrementGroup, parent, resetGroupCATEGORY_DATASET, GANTT_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, VALUE_DATASET, XY_DATASET, XYZ_DATASET| Constructor and Description |
|---|
JRFillTimeSeriesDataset(JRTimeSeriesDataset timeSeriesDataset,
JRFillObjectFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
collectExpressions(JRExpressionCollector collector) |
protected void |
customEvaluate(JRCalculator calculator)
Evaluates the expressions associated with the dataset.
|
protected void |
customIncrement()
Increments the dataset by collecting the result of the expression
evaluation.
|
protected void |
customInitialize()
Initializes the element dataset.
|
org.jfree.data.general.Dataset |
getCustomDataset() |
byte |
getDatasetType()
Gets the dataset type.
|
Map<Comparable<?>,Map<org.jfree.data.time.RegularTimePeriod,JRPrintHyperlink>> |
getItemHyperlinks() |
Object |
getLabelGenerator() |
JRTimeSeries[] |
getSeries() |
Class<?> |
getTimePeriod() |
boolean |
hasItemHyperlinks() |
void |
setTimePeriod(Class<?> timePeriod) |
void |
validate(JRVerifier verifier)
Validates the dataset using a verifier.
|
getDatasetclone, evaluate, evaluateDatasetRun, evaluateIncrementWhenExpression, getDatasetRun, getFillDataset, getFiller, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getInputDataset, getLocale, getResetGroup, getResetTypeValue, getTimeZone, increment, initialize, setBandequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValueclonepublic static final String EXCEPTION_MESSAGE_KEY_SERIES_NULL_NAME
protected JRFillTimeSeries[] timeSeries
public JRFillTimeSeriesDataset(JRTimeSeriesDataset timeSeriesDataset, JRFillObjectFactory factory)
public JRTimeSeries[] getSeries()
getSeries in interface JRTimeSeriesDatasetJRTimeSeries objects representing the
series for the Time Series chartJRTimeSeriesprotected void customInitialize()
JRFillElementDatasetThe dataset is initialized before being used and after each time the dataset gets reset.
customInitialize in class JRFillElementDatasetJRFillElementDataset.getResetTypeValue()protected void customEvaluate(JRCalculator calculator) throws JRExpressionEvalException
JRFillElementDataset
Usually, the result of the evaluation would be preserved so that it is
used in JRFillElementDataset.customIncrement()
customEvaluate in class JRFillElementDatasetcalculator - used to evaluate expressionsJRExpressionEvalException - any exception that occurs while
evaluating expressionsprotected void customIncrement()
JRFillElementDatasetcustomIncrement in class JRFillElementDatasetpublic org.jfree.data.general.Dataset getCustomDataset()
getCustomDataset in class JRFillChartDatasetpublic Class<?> getTimePeriod()
getTimePeriod in interface JRTimeSeriesDatasetTimePeriodEnumpublic void setTimePeriod(Class<?> timePeriod)
setTimePeriod in interface JRTimeSeriesDatasettimePeriod - the time period associated with
days, months, years, or other predefined time periods.TimePeriodEnumpublic byte getDatasetType()
JRChartDatasetgetDatasetType in interface JRChartDatasetpublic Object getLabelGenerator()
getLabelGenerator in class JRFillChartDatasetpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementDatasetpublic Map<Comparable<?>,Map<org.jfree.data.time.RegularTimePeriod,JRPrintHyperlink>> getItemHyperlinks()
public boolean hasItemHyperlinks()
public void validate(JRVerifier verifier)
JRChartDatasetBroken rules are collected by the verifier.
validate in interface JRChartDatasetverifier - the verifier to use for validationCopyright © 2017. All rights reserved.