public class DJChart extends DJBaseElement
Modifier and Type | Field and Description |
---|---|
static byte |
AREA_CHART |
static byte |
BAR_CHART |
static byte |
BAR3D_CHART |
static byte |
CALCULATION_COUNT |
static byte |
CALCULATION_SUM |
static byte |
LINE_CHART |
static byte |
PIE_CHART |
static byte |
PIE3D_CHART |
static byte |
SCATTER_CHART |
static byte |
STACKEDAREA_CHART |
static byte |
STACKEDBAR_CHART |
static byte |
STACKEDBAR3D_CHART |
static byte |
TIMESERIES_CHART |
static byte |
XYAREA_CHART |
static byte |
XYBAR_CHART |
static byte |
XYLINE_CHART |
SERIAL_VERSION_UID
Constructor and Description |
---|
DJChart(byte chartType) |
Modifier and Type | Method and Description |
---|---|
AbstractDataset |
getDataset()
Returns the chart dataset.
|
DJHyperLink |
getLink()
Returns the hyperlink.
|
byte |
getOperation()
Returns the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM).
|
DJChartOptions |
getOptions()
Returns the chart options.
|
AbstractPlot |
getPlot()
Returns the chart plot.
|
void |
setLink(DJHyperLink link)
Sets the hyperlink.
|
void |
setOperation(byte operation)
Sets the chart data operation (DJChart.CALCULATION_COUNT or DJChart.CALCULATION_SUM).
|
void |
setOptions(DJChartOptions chartOptions)
Sets the chart options.
|
net.sf.jasperreports.engine.design.JRDesignChart |
transform(DynamicJasperDesign design,
String name,
net.sf.jasperreports.engine.design.JRDesignGroup group,
net.sf.jasperreports.engine.design.JRDesignGroup parentGroup,
Map vars,
int width) |
public static final byte CALCULATION_COUNT
public static final byte CALCULATION_SUM
public static final byte AREA_CHART
public static final byte STACKEDAREA_CHART
public static final byte BAR_CHART
public static final byte BAR3D_CHART
public static final byte STACKEDBAR_CHART
public static final byte STACKEDBAR3D_CHART
public static final byte LINE_CHART
public static final byte PIE_CHART
public static final byte PIE3D_CHART
public static final byte TIMESERIES_CHART
public static final byte XYAREA_CHART
public static final byte XYBAR_CHART
public static final byte XYLINE_CHART
public static final byte SCATTER_CHART
public void setOperation(byte operation)
operation
- the chart data operationpublic byte getOperation()
public void setOptions(DJChartOptions chartOptions)
chartOptions
- the chart optionspublic DJChartOptions getOptions()
public AbstractDataset getDataset()
public AbstractPlot getPlot()
public DJHyperLink getLink()
public void setLink(DJHyperLink link)
link
- the hyperlinkpublic net.sf.jasperreports.engine.design.JRDesignChart transform(DynamicJasperDesign design, String name, net.sf.jasperreports.engine.design.JRDesignGroup group, net.sf.jasperreports.engine.design.JRDesignGroup parentGroup, Map vars, int width)
Copyright © 2006–2015 FDV Solutions. All rights reserved.