public class XYDataset extends AbstractDataset
SERIAL_VERSION_UID| Constructor and Description |
|---|
XYDataset() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSerie(AbstractColumn column)
Adds the specified serie column to the dataset.
|
void |
addSerie(AbstractColumn column,
String label)
Adds the specified serie column to the dataset with custom label.
|
void |
addSerie(AbstractColumn column,
StringExpression labelExpression)
Adds the specified serie column to the dataset with custom label expression.
|
void |
clearSeries()
Removes all defined series.
|
List |
getColumns() |
PropertyColumn |
getColumnsGroup() |
List |
getSeries()
Returns a list of all the defined series.
|
PropertyColumn |
getXValue()
Returns the x value column.
|
void |
removeSerie(AbstractColumn column)
Removes the specified serie column from the dataset.
|
void |
setXValue(PropertyColumn xValue)
Sets the x value column.
|
net.sf.jasperreports.engine.design.JRDesignChartDataset |
transform(DynamicJasperDesign design,
String name,
net.sf.jasperreports.engine.design.JRDesignGroup group,
net.sf.jasperreports.engine.design.JRDesignGroup parentGroup,
Map vars) |
getExpressionFromVariable, setResetStylepublic void setXValue(PropertyColumn xValue)
xValue - the x value columnpublic PropertyColumn getXValue()
public void addSerie(AbstractColumn column)
addSerie in class AbstractDatasetcolumn - the serie columnpublic void addSerie(AbstractColumn column, String label)
column - the serie columnlabel - column the custom labelpublic void addSerie(AbstractColumn column, StringExpression labelExpression)
column - the serie columnlabelExpression - column the custom label expressionpublic void removeSerie(AbstractColumn column)
column - the serie columnpublic void clearSeries()
public List getSeries()
public net.sf.jasperreports.engine.design.JRDesignChartDataset transform(DynamicJasperDesign design, String name, net.sf.jasperreports.engine.design.JRDesignGroup group, net.sf.jasperreports.engine.design.JRDesignGroup parentGroup, Map vars)
transform in class AbstractDatasetpublic List getColumns()
getColumns in class AbstractDatasetpublic PropertyColumn getColumnsGroup()
getColumnsGroup in class AbstractDatasetCopyright © 2006–2014 FDV Solutions. All rights reserved.