Package net.sf.jasperreports.charts.base
Class JRBaseCategorySeries
java.lang.Object
net.sf.jasperreports.charts.base.JRBaseCategorySeries
- All Implemented Interfaces:
Serializable,Cloneable,JRCategorySeries,JRCloneable
- Direct Known Subclasses:
JRDesignCategorySeries
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JRExpressionprotected JRHyperlinkprotected JRExpressionprotected JRExpressionprotected JRExpression -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJRBaseCategorySeries(JRCategorySeries categorySeries, ChartsBaseObjectFactory factory) -
Method Summary
-
Field Details
-
seriesExpression
-
categoryExpression
-
valueExpression
-
labelExpression
-
itemHyperlink
-
-
Constructor Details
-
JRBaseCategorySeries
protected JRBaseCategorySeries() -
JRBaseCategorySeries
-
-
Method Details
-
getSeriesExpression
- Specified by:
getSeriesExpressionin interfaceJRCategorySeries- Returns:
- the expression of the series name. The value of this expression can be any
java.lang.Comparableobject.
Note that this expression may return different values with each iteration, which in turn will result in the dataset having multiple category series, even though a single<categorySeries>tag was used inside<categoryDataset>. However, this expression usually returns ajava.lang.Stringconstant, and there are several<categorySeries>tags that introduce multiple category series in the dataset.
-
getCategoryExpression
- Specified by:
getCategoryExpressionin interfaceJRCategorySeries- Returns:
- the expression of the name of the category for each value inside the series
specified by the series expression. Categories are
java.lang.Comparableobjects (not necessarilyjava.lang.Stringobjects).
-
getValueExpression
- Specified by:
getValueExpressionin interfaceJRCategorySeries- Returns:
- the value expression, a
java.lang.Numbervalue for each category in the specified series.
-
getLabelExpression
- Specified by:
getLabelExpressionin interfaceJRCategorySeries- Returns:
- the label expression. If present, this expression allows customization of the item labels in the chart.
-
getItemHyperlink
Description copied from interface:JRCategorySeriesReturns the hyperlink specification for chart items.The hyperlink will be evaluated for every chart item and an image map will be created for the chart.
- Specified by:
getItemHyperlinkin interfaceJRCategorySeries- Returns:
- hyperlink specification for chart items
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-