|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRChart
Implementations of this interface can be used for rendering chart components. Data obtained from the report datasource can be also displayed in a chart, embedded in the report. There are a lot of chart types, each with its own dataset and characteristics. This interface only defines the common properties.
Field Summary | |
---|---|
static byte |
CHART_TYPE_AREA
|
static byte |
CHART_TYPE_BAR
|
static byte |
CHART_TYPE_BAR3D
|
static byte |
CHART_TYPE_BUBBLE
|
static byte |
CHART_TYPE_CANDLESTICK
|
static byte |
CHART_TYPE_HIGHLOW
|
static byte |
CHART_TYPE_LINE
|
static byte |
CHART_TYPE_METER
|
static byte |
CHART_TYPE_MULTI_AXIS
|
static byte |
CHART_TYPE_PIE
|
static byte |
CHART_TYPE_PIE3D
|
static byte |
CHART_TYPE_SCATTER
|
static byte |
CHART_TYPE_STACKEDBAR
|
static byte |
CHART_TYPE_STACKEDBAR3D
|
static byte |
CHART_TYPE_THERMOMETER
|
static byte |
CHART_TYPE_TIMESERIES
|
static byte |
CHART_TYPE_XYAREA
|
static byte |
CHART_TYPE_XYBAR
|
static byte |
CHART_TYPE_XYLINE
|
static byte |
TITLE_POSITION_BOTTOM
|
static byte |
TITLE_POSITION_LEFT
|
static byte |
TITLE_POSITION_RIGHT
|
static byte |
TITLE_POSITION_TOP
|
Fields inherited from interface net.sf.jasperreports.engine.JRElement |
---|
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT |
Fields inherited from interface net.sf.jasperreports.engine.JRAnchor |
---|
NO_BOOKMARK |
Fields inherited from interface net.sf.jasperreports.engine.JRHyperlink |
---|
HYPERLINK_TARGET_BLANK, HYPERLINK_TARGET_SELF, HYPERLINK_TYPE_CUSTOM, HYPERLINK_TYPE_LOCAL_ANCHOR, HYPERLINK_TYPE_LOCAL_PAGE, HYPERLINK_TYPE_NONE, HYPERLINK_TYPE_NULL, HYPERLINK_TYPE_REFERENCE, HYPERLINK_TYPE_REMOTE_ANCHOR, HYPERLINK_TYPE_REMOTE_PAGE |
Method Summary | |
---|---|
JRBox |
getBox()
Deprecated. |
byte |
getChartType()
Gets the chart type. |
java.lang.String |
getCustomizerClass()
Gets a user specified chart customizer class name. |
JRChartDataset |
getDataset()
Gets the chart dataset. |
JRGroup |
getEvaluationGroup()
Gets the evaluation group for this chart (only applies when evaluation time is group). |
byte |
getEvaluationTime()
Returns the evaluation time for this chart. |
java.awt.Color |
getLegendBackgroundColor()
|
java.awt.Color |
getLegendColor()
|
JRFont |
getLegendFont()
|
JRChartPlot |
getPlot()
Gets the chart plot. |
java.awt.Color |
getSubtitleColor()
|
JRExpression |
getSubtitleExpression()
Gets the expression whose evaluation will form the subtitle. |
JRFont |
getSubtitleFont()
|
java.awt.Color |
getTitleColor()
|
JRExpression |
getTitleExpression()
Gets the expression whose evaluation will form the title. |
JRFont |
getTitleFont()
|
byte |
getTitlePosition()
Gets the title position relative to the chart. |
boolean |
isShowLegend()
|
void |
setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
|
void |
setLegendColor(java.awt.Color legendColor)
|
void |
setShowLegend(boolean isShowLegend)
|
void |
setSubtitleColor(java.awt.Color subtitleColor)
|
void |
setTitleColor(java.awt.Color titleColor)
|
void |
setTitlePosition(byte titlePosition)
Sets the title position relative to the chart. |
Methods inherited from interface net.sf.jasperreports.engine.JRElement |
---|
collectExpressions, getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
Methods inherited from interface net.sf.jasperreports.engine.JRChild |
---|
getCopy, writeXml |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle |
Methods inherited from interface net.sf.jasperreports.engine.JRAnchor |
---|
getAnchorNameExpression, getBookmarkLevel |
Methods inherited from interface net.sf.jasperreports.engine.JRHyperlink |
---|
getHyperlinkAnchorExpression, getHyperlinkPageExpression, getHyperlinkParameters, getHyperlinkReferenceExpression, getHyperlinkTarget, getHyperlinkTooltipExpression, getHyperlinkType, getLinkType |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle |
Field Detail |
---|
static final byte TITLE_POSITION_TOP
static final byte TITLE_POSITION_BOTTOM
static final byte TITLE_POSITION_LEFT
static final byte TITLE_POSITION_RIGHT
static final byte CHART_TYPE_AREA
static final byte CHART_TYPE_BAR3D
static final byte CHART_TYPE_BAR
static final byte CHART_TYPE_BUBBLE
static final byte CHART_TYPE_CANDLESTICK
static final byte CHART_TYPE_HIGHLOW
static final byte CHART_TYPE_LINE
static final byte CHART_TYPE_PIE3D
static final byte CHART_TYPE_PIE
static final byte CHART_TYPE_SCATTER
static final byte CHART_TYPE_STACKEDBAR3D
static final byte CHART_TYPE_STACKEDBAR
static final byte CHART_TYPE_XYAREA
static final byte CHART_TYPE_XYBAR
static final byte CHART_TYPE_XYLINE
static final byte CHART_TYPE_TIMESERIES
static final byte CHART_TYPE_METER
static final byte CHART_TYPE_THERMOMETER
static final byte CHART_TYPE_MULTI_AXIS
Method Detail |
---|
boolean isShowLegend()
void setShowLegend(boolean isShowLegend)
byte getEvaluationTime()
JRGroup getEvaluationGroup()
JRBox getBox()
JRExpression getTitleExpression()
JRFont getTitleFont()
byte getTitlePosition()
void setTitlePosition(byte titlePosition)
java.awt.Color getTitleColor()
void setTitleColor(java.awt.Color titleColor)
JRExpression getSubtitleExpression()
JRFont getSubtitleFont()
java.awt.Color getSubtitleColor()
void setSubtitleColor(java.awt.Color subtitleColor)
java.awt.Color getLegendColor()
void setLegendColor(java.awt.Color legendColor)
java.awt.Color getLegendBackgroundColor()
void setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
JRFont getLegendFont()
JRChartDataset getDataset()
JRChartPlot getPlot()
byte getChartType()
java.lang.String getCustomizerClass()
JRChartCustomizer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |