Package net.sf.jasperreports.charts.base
Class JRBaseTimeSeries
java.lang.Object
net.sf.jasperreports.charts.base.JRBaseTimeSeries
- All Implemented Interfaces:
Serializable,Cloneable,JRTimeSeries,JRCloneable
- Direct Known Subclasses:
JRDesignTimeSeries
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JRHyperlinkprotected JRExpressionprotected JRExpressionprotected JRExpressionprotected JRExpression -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJRBaseTimeSeries(JRTimeSeries timeSeries, ChartsBaseObjectFactory factory) -
Method Summary
-
Field Details
-
seriesExpression
-
timePeriodExpression
-
valueExpression
-
labelExpression
-
itemHyperlink
-
-
Constructor Details
-
JRBaseTimeSeries
protected JRBaseTimeSeries() -
JRBaseTimeSeries
-
-
Method Details
-
getSeriesExpression
- Specified by:
getSeriesExpressionin interfaceJRTimeSeries- Returns:
- a
java.lang.Comparableobject representing the expression of the series name. Specifies the series to which to add the current value pair when incrementing the dataset.
-
getTimePeriodExpression
- Specified by:
getTimePeriodExpressionin interfaceJRTimeSeries- Returns:
- a
java.util.Dateexpression from which the engine will extract the corresponding time period depending on the value set for thetimePeriodattribute. - See Also:
-
getValueExpression
- Specified by:
getValueExpressionin interfaceJRTimeSeries- Returns:
- a numeric expression representing the value to associate with the corresponding time period value when incrementing the current series of the dataset.
-
getLabelExpression
- Specified by:
getLabelExpressionin interfaceJRTimeSeries- Returns:
- the label expression. If present, it helps customize the item labels inside charts.
-
getItemHyperlink
Description copied from interface:JRTimeSeriesReturns the hyperlink specification for chart items.The hyperlink will be evaluated for every chart item and a image map will be created for the chart.
- Specified by:
getItemHyperlinkin interfaceJRTimeSeries- Returns:
- hyperlink specification for chart items
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-