Package net.sf.jasperreports.charts.base
Class JRBaseXySeries
- java.lang.Object
-
- net.sf.jasperreports.charts.base.JRBaseXySeries
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRXySeries
,JRCloneable
- Direct Known Subclasses:
JRDesignXySeries
public class JRBaseXySeries extends Object implements JRXySeries, Serializable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
autoSort
protected JRHyperlink
itemHyperlink
protected JRExpression
labelExpression
protected JRExpression
seriesExpression
protected JRExpression
xValueExpression
protected JRExpression
yValueExpression
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRBaseXySeries()
JRBaseXySeries(JRXySeries xySeries, ChartsBaseObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
Boolean
getAutoSort()
JRHyperlink
getItemHyperlink()
Returns the hyperlink specification for chart items.JRExpression
getLabelExpression()
JRExpression
getSeriesExpression()
JRExpression
getXValueExpression()
JRExpression
getYValueExpression()
-
-
-
Field Detail
-
seriesExpression
protected JRExpression seriesExpression
-
xValueExpression
protected JRExpression xValueExpression
-
yValueExpression
protected JRExpression yValueExpression
-
labelExpression
protected JRExpression labelExpression
-
itemHyperlink
protected JRHyperlink itemHyperlink
-
autoSort
protected Boolean autoSort
-
-
Constructor Detail
-
JRBaseXySeries
protected JRBaseXySeries()
-
JRBaseXySeries
public JRBaseXySeries(JRXySeries xySeries, ChartsBaseObjectFactory factory)
-
-
Method Detail
-
getSeriesExpression
public JRExpression getSeriesExpression()
- Specified by:
getSeriesExpression
in interfaceJRXySeries
- Returns:
- a
java.lang.Comparable
object that identifies a certain data series in the overall dataset. It can return different values, which will result in the dataset containing multiple series even when a single<xySeries>
tag is used inside the<xyDataset>
tag.
-
getXValueExpression
public JRExpression getXValueExpression()
- Specified by:
getXValueExpression
in interfaceJRXySeries
- Returns:
- a numeric expression representing the X value from the (x, y) pair that will be added to the current data series.
-
getYValueExpression
public JRExpression getYValueExpression()
- Specified by:
getYValueExpression
in interfaceJRXySeries
- Returns:
- a numeric expression representing the Y value from the (x, y) pair that will be added to the current data series.
-
getLabelExpression
public JRExpression getLabelExpression()
- Specified by:
getLabelExpression
in interfaceJRXySeries
- Returns:
- the label expression. If present, it helps customize the item labels inside charts.
-
getItemHyperlink
public JRHyperlink getItemHyperlink()
Description copied from interface:JRXySeries
Returns 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:
getItemHyperlink
in interfaceJRXySeries
- Returns:
- hyperlink specification for chart items
-
getAutoSort
public Boolean getAutoSort()
- Specified by:
getAutoSort
in interfaceJRXySeries
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
-