public class JRBaseTimeSeriesDataset extends JRBaseChartDataset implements JRTimeSeriesDataset, JRChangeEventsSupport
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_TIME_PERIOD |
datasetRun, incrementGroup, incrementTypeValue, incrementWhenExpression, resetGroup, resetTypeValue
CATEGORY_DATASET, GANTT_DATASET, HIGHLOW_DATASET, PIE_DATASET, TIMEPERIOD_DATASET, TIMESERIES_DATASET, VALUE_DATASET, XY_DATASET, XYZ_DATASET
Modifier | Constructor and Description |
---|---|
protected |
JRBaseTimeSeriesDataset(JRTimeSeriesDataset dataset) |
|
JRBaseTimeSeriesDataset(JRTimeSeriesDataset dataset,
JRBaseObjectFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
void |
collectExpressions(JRExpressionCollector collector) |
byte |
getDatasetType()
Gets the dataset type.
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
JRTimeSeries[] |
getSeries() |
Class<?> |
getTimePeriod() |
void |
setTimePeriod(Class<?> timePeriod) |
void |
validate(JRVerifier verifier)
Validates the dataset using a verifier.
|
getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValue
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDatasetRun, getIncrementGroup, getIncrementTypeValue, getIncrementWhenExpression, getResetGroup, getResetTypeValue
public static final String PROPERTY_TIME_PERIOD
protected JRBaseTimeSeriesDataset(JRTimeSeriesDataset dataset)
public JRBaseTimeSeriesDataset(JRTimeSeriesDataset dataset, JRBaseObjectFactory factory)
public JRTimeSeries[] getSeries()
getSeries
in interface JRTimeSeriesDataset
JRTimeSeries
objects representing the
series for the Time Series chartJRTimeSeries
public Class<?> getTimePeriod()
getTimePeriod
in interface JRTimeSeriesDataset
TimePeriodEnum
public void setTimePeriod(Class<?> timePeriod)
setTimePeriod
in interface JRTimeSeriesDataset
timePeriod
- the time period associated with
days, months, years, or other predefined time periods.TimePeriodEnum
public byte getDatasetType()
JRChartDataset
getDatasetType
in interface JRChartDataset
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElementDataset
collectExpressions
in class JRBaseElementDataset
public void validate(JRVerifier verifier)
JRChartDataset
Broken rules are collected by the verifier.
validate
in interface JRChartDataset
verifier
- the verifier to use for validationpublic Object clone()
clone
in interface JRCloneable
clone
in class JRBaseElementDataset
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
Copyright © 2016. All rights reserved.