public interface JRChart extends JRElement, JRAnchor, JRHyperlink, JRBox, JRBoxContainer
Modifier and Type | Field and Description |
---|---|
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_GANTT |
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_STACKEDAREA |
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 |
EDGE_BOTTOM
Deprecated.
Replaced by
EdgeEnum.BOTTOM . |
static byte |
EDGE_LEFT
Deprecated.
Replaced by
EdgeEnum.LEFT . |
static byte |
EDGE_RIGHT
Deprecated.
Replaced by
EdgeEnum.RIGHT . |
static byte |
EDGE_TOP
Deprecated.
Replaced by
EdgeEnum.TOP . |
static java.lang.String |
PROPERTY_CHART_RENDER_TYPE
Specifies the type of chart rendering.
|
static java.lang.String |
PROPERTY_CHART_THEME
Property used to specify the chart theme name.
|
static java.lang.String |
RENDER_TYPE_DRAW
rendering type
|
static java.lang.String |
RENDER_TYPE_IMAGE |
static java.lang.String |
RENDER_TYPE_SVG |
static byte |
TITLE_POSITION_BOTTOM
Deprecated.
Replaced by
EdgeEnum.BOTTOM . |
static byte |
TITLE_POSITION_LEFT
Deprecated.
Replaced by
EdgeEnum.LEFT . |
static byte |
TITLE_POSITION_RIGHT
Deprecated.
Replaced by
EdgeEnum.RIGHT . |
static byte |
TITLE_POSITION_TOP
Deprecated.
Replaced by
EdgeEnum.TOP . |
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
NO_BOOKMARK
HYPERLINK_TARGET_BLANK, HYPERLINK_TARGET_CUSTOM, HYPERLINK_TARGET_PARENT, HYPERLINK_TARGET_SELF, HYPERLINK_TARGET_TOP, 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
Modifier and Type | Method and Description |
---|---|
JRBox |
getBox()
Deprecated.
Replaced by
JRBoxContainer.getLineBox() |
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()
Deprecated.
Replaced by
getEvaluationTimeValue() . |
EvaluationTimeEnum |
getEvaluationTimeValue()
Returns the evaluation time for this chart.
|
java.awt.Color |
getLegendBackgroundColor() |
java.awt.Color |
getLegendColor() |
JRFont |
getLegendFont() |
byte |
getLegendPosition()
Deprecated.
Replaced by
getLegendPositionValue() |
java.lang.Byte |
getLegendPositionByte()
Deprecated.
Replaced by
getLegendPositionValue() |
EdgeEnum |
getLegendPositionValue() |
java.awt.Color |
getOwnLegendBackgroundColor() |
java.awt.Color |
getOwnLegendColor() |
java.awt.Color |
getOwnSubtitleColor() |
java.awt.Color |
getOwnTitleColor() |
JRChartPlot |
getPlot()
Gets the chart plot.
|
java.lang.String |
getRenderType() |
java.lang.Boolean |
getShowLegend() |
java.awt.Color |
getSubtitleColor() |
JRExpression |
getSubtitleExpression()
Gets the expression whose evaluation will form the subtitle.
|
JRFont |
getSubtitleFont() |
java.lang.String |
getTheme() |
java.awt.Color |
getTitleColor() |
JRExpression |
getTitleExpression()
Gets the expression whose evaluation will form the title.
|
JRFont |
getTitleFont() |
byte |
getTitlePosition()
Deprecated.
Replaced by
getTitlePositionValue() |
java.lang.Byte |
getTitlePositionByte()
Deprecated.
Replaced by
getTitlePositionValue() |
EdgeEnum |
getTitlePositionValue()
Gets the title position relative to the chart.
|
boolean |
isShowLegend()
Deprecated.
Replaced by
getShowLegend() |
void |
setLegendBackgroundColor(java.awt.Color legendBackgroundColor) |
void |
setLegendColor(java.awt.Color legendColor) |
void |
setLegendPosition(byte legendPosition)
Deprecated.
Replaced by
setLegendPosition(EdgeEnum) |
void |
setLegendPosition(java.lang.Byte legendPosition)
Deprecated.
Replaced by
setLegendPosition(EdgeEnum) |
void |
setLegendPosition(EdgeEnum legendPosition) |
void |
setRenderType(java.lang.String renderType) |
void |
setShowLegend(boolean isShowLegend)
Deprecated.
Replaced by
setShowLegend(Boolean) |
void |
setShowLegend(java.lang.Boolean isShowLegend) |
void |
setSubtitleColor(java.awt.Color subtitleColor) |
void |
setTheme(java.lang.String theme) |
void |
setTitleColor(java.awt.Color titleColor) |
void |
setTitlePosition(byte titlePosition)
Deprecated.
Replaced by
setTitlePosition(EdgeEnum) |
void |
setTitlePosition(java.lang.Byte titlePosition)
Deprecated.
Replaced by
setTitlePosition(EdgeEnum) |
void |
setTitlePosition(EdgeEnum titlePosition)
Sets the title position relative to the chart.
|
collectExpressions, getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setX
visit
clone
getBackcolor, getForecolor, getHeight, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
getAnchorNameExpression, getBookmarkLevel
getHyperlinkAnchorExpression, getHyperlinkPageExpression, getHyperlinkParameters, getHyperlinkReferenceExpression, getHyperlinkTarget, getHyperlinkTooltipExpression, getHyperlinkType, getHyperlinkTypeValue, getLinkTarget, getLinkType
getBorder, getBorderColor, getBottomBorder, getBottomBorderColor, getBottomPadding, getLeftBorder, getLeftBorderColor, getLeftPadding, getOwnBorder, getOwnBorderColor, getOwnBottomBorder, getOwnBottomBorderColor, getOwnBottomPadding, getOwnLeftBorder, getOwnLeftBorderColor, getOwnLeftPadding, getOwnPadding, getOwnRightBorder, getOwnRightBorderColor, getOwnRightPadding, getOwnTopBorder, getOwnTopBorderColor, getOwnTopPadding, getPadding, getRightBorder, getRightBorderColor, getRightPadding, getTopBorder, getTopBorderColor, getTopPadding, setBorder, setBorder, setBorderColor, setBottomBorder, setBottomBorder, setBottomBorderColor, setBottomPadding, setBottomPadding, setLeftBorder, setLeftBorder, setLeftBorderColor, setLeftPadding, setLeftPadding, setPadding, setPadding, setRightBorder, setRightBorder, setRightBorderColor, setRightPadding, setRightPadding, setTopBorder, setTopBorder, setTopBorderColor, setTopPadding, setTopPadding
getDefaultLineColor, getLineBox
static final java.lang.String PROPERTY_CHART_RENDER_TYPE
draw
, image
and svg
.
If the rendering type is draw
a vector image is constructed, using the JFreeChart
dedicated APIs.
For type image, a PNG encoded image will be generated, while for type svg, an SVG snippet will be generated.
Defaults to draw
.
static final java.lang.String PROPERTY_CHART_THEME
static final byte EDGE_TOP
EdgeEnum.TOP
.static final byte EDGE_BOTTOM
EdgeEnum.BOTTOM
.static final byte EDGE_LEFT
EdgeEnum.LEFT
.static final byte EDGE_RIGHT
EdgeEnum.RIGHT
.static final byte TITLE_POSITION_TOP
EdgeEnum.TOP
.static final byte TITLE_POSITION_BOTTOM
EdgeEnum.BOTTOM
.static final byte TITLE_POSITION_LEFT
EdgeEnum.LEFT
.static final byte TITLE_POSITION_RIGHT
EdgeEnum.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
static final byte CHART_TYPE_STACKEDAREA
static final byte CHART_TYPE_GANTT
static final java.lang.String RENDER_TYPE_DRAW
static final java.lang.String RENDER_TYPE_IMAGE
static final java.lang.String RENDER_TYPE_SVG
boolean isShowLegend()
getShowLegend()
java.lang.Boolean getShowLegend()
void setShowLegend(boolean isShowLegend)
setShowLegend(Boolean)
void setShowLegend(java.lang.Boolean isShowLegend)
byte getEvaluationTime()
getEvaluationTimeValue()
.EvaluationTimeEnum getEvaluationTimeValue()
JRGroup getEvaluationGroup()
JRBox getBox()
JRBoxContainer.getLineBox()
JRExpression getTitleExpression()
JRFont getTitleFont()
byte getTitlePosition()
getTitlePositionValue()
void setTitlePosition(byte titlePosition)
setTitlePosition(EdgeEnum)
java.lang.Byte getTitlePositionByte()
getTitlePositionValue()
void setTitlePosition(java.lang.Byte titlePosition)
setTitlePosition(EdgeEnum)
EdgeEnum getTitlePositionValue()
void setTitlePosition(EdgeEnum titlePosition)
java.awt.Color getTitleColor()
java.awt.Color getOwnTitleColor()
void setTitleColor(java.awt.Color titleColor)
JRExpression getSubtitleExpression()
JRFont getSubtitleFont()
java.awt.Color getSubtitleColor()
java.awt.Color getOwnSubtitleColor()
void setSubtitleColor(java.awt.Color subtitleColor)
java.awt.Color getLegendColor()
java.awt.Color getOwnLegendColor()
void setLegendColor(java.awt.Color legendColor)
java.awt.Color getOwnLegendBackgroundColor()
java.awt.Color getLegendBackgroundColor()
void setLegendBackgroundColor(java.awt.Color legendBackgroundColor)
JRFont getLegendFont()
byte getLegendPosition()
getLegendPositionValue()
void setLegendPosition(byte legendPosition)
setLegendPosition(EdgeEnum)
java.lang.Byte getLegendPositionByte()
getLegendPositionValue()
void setLegendPosition(java.lang.Byte legendPosition)
setLegendPosition(EdgeEnum)
EdgeEnum getLegendPositionValue()
void setLegendPosition(EdgeEnum legendPosition)
JRChartDataset getDataset()
JRChartPlot getPlot()
byte getChartType()
java.lang.String getCustomizerClass()
JRChartCustomizer
java.lang.String getRenderType()
void setRenderType(java.lang.String renderType)
java.lang.String getTheme()
void setTheme(java.lang.String theme)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com