Package net.sf.jasperreports.charts.base
Class JRBaseBarPlot
java.lang.Object
net.sf.jasperreports.charts.base.JRBaseChartPlot
net.sf.jasperreports.charts.base.JRBaseBarPlot
- All Implemented Interfaces:
Serializable,Cloneable,JRBarPlot,JRCategoryAxisFormat,JRCategoryPlot,JRChartPlot,JRValueAxisFormat,JRChangeEventsSupport,JRCloneable
- Direct Known Subclasses:
JRBaseBar3DPlot,JRDesignBarPlot
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.jasperreports.charts.base.JRBaseChartPlot
JRBaseChartPlot.JRBaseSeriesColorNested classes/interfaces inherited from interface net.sf.jasperreports.charts.JRChartPlot
JRChartPlot.JRSeriesColor -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Colorprotected JRExpressionprotected JRFontprotected Colorprotected Colorprotected JRFontprotected Stringprotected Booleanprotected JRExpressionprotected JRExpressionprotected JRItemLabelstatic final Stringstatic final Stringstatic final Stringprotected JRExpressionprotected JRExpressionprotected Booleanprotected Booleanprotected Booleanprotected Colorprotected JRExpressionprotected JRFontprotected Colorprotected Colorprotected JRFontprotected Stringprotected BooleanFields inherited from class net.sf.jasperreports.charts.base.JRBaseChartPlot
backcolor, backgroundAlpha, chart, foregroundAlpha, labelRotation, orientation, PROPERTY_BACKCOLOR, PROPERTY_BACKGROUND_ALPHA, PROPERTY_FOREGROUND_ALPHA, PROPERTY_LABEL_ROTATION, PROPERTY_ORIENTATION, PROPERTY_SERIES_COLORS, seriesColorsFields inherited from interface net.sf.jasperreports.charts.JRCategoryAxisFormat
PROPERTY_CATEGORY_AXIS_TICK_LABEL_ROTATION -
Constructor Summary
ConstructorsModifierConstructorDescriptionJRBaseBarPlot(JRBarPlot barPlot, ChartsBaseObjectFactory factory) JRBaseBarPlot(JRChartPlot plot, JRChart chart) protectedJRBaseBarPlot(JRChartPlot plot, JRChart chart, ChartCopyObjectFactory copyObjectFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectExpressions(ChartsExpressionCollector collector) Gets the angle in degrees to rotate the data axis labels.voidsetCategoryAxisTickLabelRotation(Double labelRotation) Sets the angle in degrees to rotate the data axis labels.voidsetShowLabels(Boolean showLabels) Sets a flag that specifies whether the labels are to be shown or notvoidsetShowTickLabels(Boolean showTickLabels) Sets a flag that specifies whether the tick labels are to be shown or notvoidsetShowTickMarks(Boolean isShowTickMarks) Sets a flag that specifies whether the tick marks are to be shown or notMethods inherited from class net.sf.jasperreports.charts.base.JRBaseChartPlot
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlpha, getChart, getEventSupport, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, getStyleResolver, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColorsMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.charts.JRChartPlot
addSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColorsMethods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
Field Details
-
PROPERTY_SHOW_LABELS
- See Also:
-
PROPERTY_SHOW_TICK_LABELS
- See Also:
-
PROPERTY_SHOW_TICK_MARKS
- See Also:
-
categoryAxisLabelExpression
-
categoryAxisLabelFont
-
categoryAxisLabelColor
-
categoryAxisTickLabelFont
-
categoryAxisTickLabelColor
-
categoryAxisTickLabelMask
-
categoryAxisVerticalTickLabels
-
categoryAxisLineColor
-
valueAxisLabelExpression
-
rangeAxisMinValueExpression
-
rangeAxisMaxValueExpression
-
domainAxisMinValueExpression
-
domainAxisMaxValueExpression
-
valueAxisLabelFont
-
valueAxisLabelColor
-
valueAxisTickLabelFont
-
valueAxisTickLabelColor
-
valueAxisTickLabelMask
-
valueAxisVerticalTickLabels
-
valueAxisLineColor
-
showTickMarks
-
showTickLabels
-
showLabels
-
itemLabel
-
-
Constructor Details
-
JRBaseBarPlot
-
JRBaseBarPlot
-
JRBaseBarPlot
-
-
Method Details
-
getCategoryAxisLabelExpression
- Specified by:
getCategoryAxisLabelExpressionin interfaceJRCategoryPlot- Returns:
- the category axis label expression
-
getCategoryAxisLabelFont
- Specified by:
getCategoryAxisLabelFontin interfaceJRCategoryAxisFormat
-
getCategoryAxisLabelColor
- Specified by:
getCategoryAxisLabelColorin interfaceJRCategoryAxisFormat
-
getOwnCategoryAxisLabelColor
- Specified by:
getOwnCategoryAxisLabelColorin interfaceJRCategoryAxisFormat
-
getCategoryAxisTickLabelFont
- Specified by:
getCategoryAxisTickLabelFontin interfaceJRCategoryAxisFormat
-
getCategoryAxisTickLabelColor
- Specified by:
getCategoryAxisTickLabelColorin interfaceJRCategoryAxisFormat
-
getOwnCategoryAxisTickLabelColor
- Specified by:
getOwnCategoryAxisTickLabelColorin interfaceJRCategoryAxisFormat
-
getCategoryAxisTickLabelMask
- Specified by:
getCategoryAxisTickLabelMaskin interfaceJRCategoryAxisFormat
-
getCategoryAxisVerticalTickLabels
- Specified by:
getCategoryAxisVerticalTickLabelsin interfaceJRCategoryAxisFormat
-
getCategoryAxisTickLabelRotation
Description copied from interface:JRCategoryAxisFormatGets the angle in degrees to rotate the data axis labels. The range is -360 to 360. A positive value angles the label so it reads downwards wile a negative value angles the label so it reads upwards. Only charts that use a category based axis (such as line or bar charts) support label rotation.- Specified by:
getCategoryAxisTickLabelRotationin interfaceJRCategoryAxisFormat
-
setCategoryAxisTickLabelRotation
Description copied from interface:JRCategoryAxisFormatSets the angle in degrees to rotate the data axis labels. The range is -360 to 360. A positive value angles the label so it reads downwards wile a negative value angles the label so it reads upwards. Only charts that use a category based axis (such as line or bar charts) support label rotation.- Specified by:
setCategoryAxisTickLabelRotationin interfaceJRCategoryAxisFormat
-
getCategoryAxisLineColor
- Specified by:
getCategoryAxisLineColorin interfaceJRCategoryAxisFormat
-
getOwnCategoryAxisLineColor
- Specified by:
getOwnCategoryAxisLineColorin interfaceJRCategoryAxisFormat
-
getValueAxisLabelExpression
- Specified by:
getValueAxisLabelExpressionin interfaceJRCategoryPlot- Returns:
- the value axis label expression
-
getDomainAxisMinValueExpression
- Specified by:
getDomainAxisMinValueExpressionin interfaceJRCategoryPlot- Returns:
- the minimum value expression for the domain axis
-
getDomainAxisMaxValueExpression
- Specified by:
getDomainAxisMaxValueExpressionin interfaceJRCategoryPlot- Returns:
- the maximum value expression for the domain axis
-
getRangeAxisMinValueExpression
- Specified by:
getRangeAxisMinValueExpressionin interfaceJRCategoryPlot- Returns:
- the minimum value expression for the range axis
-
getRangeAxisMaxValueExpression
- Specified by:
getRangeAxisMaxValueExpressionin interfaceJRCategoryPlot- Returns:
- the maximum value expression for the range axis
-
getValueAxisLabelFont
- Specified by:
getValueAxisLabelFontin interfaceJRValueAxisFormat
-
getValueAxisLabelColor
- Specified by:
getValueAxisLabelColorin interfaceJRValueAxisFormat
-
getOwnValueAxisLabelColor
- Specified by:
getOwnValueAxisLabelColorin interfaceJRValueAxisFormat
-
getValueAxisTickLabelFont
- Specified by:
getValueAxisTickLabelFontin interfaceJRValueAxisFormat
-
getValueAxisTickLabelColor
- Specified by:
getValueAxisTickLabelColorin interfaceJRValueAxisFormat
-
getOwnValueAxisTickLabelColor
- Specified by:
getOwnValueAxisTickLabelColorin interfaceJRValueAxisFormat
-
getValueAxisTickLabelMask
- Specified by:
getValueAxisTickLabelMaskin interfaceJRValueAxisFormat
-
getValueAxisVerticalTickLabels
- Specified by:
getValueAxisVerticalTickLabelsin interfaceJRValueAxisFormat
-
getValueAxisLineColor
- Specified by:
getValueAxisLineColorin interfaceJRValueAxisFormat
-
getOwnValueAxisLineColor
- Specified by:
getOwnValueAxisLineColorin interfaceJRValueAxisFormat
-
getShowLabels
- Specified by:
getShowLabelsin interfaceJRBarPlot- Returns:
- a flag that specifies whether the labels are to be shown or not
-
getItemLabel
- Specified by:
getItemLabelin interfaceJRBarPlot- Returns:
- a
JRItemLabelobject representing the item label
-
setShowLabels
Description copied from interface:JRBarPlotSets a flag that specifies whether the labels are to be shown or not- Specified by:
setShowLabelsin interfaceJRBarPlot- Parameters:
showLabels- the show labels flag
-
getShowTickMarks
- Specified by:
getShowTickMarksin interfaceJRBarPlot- Returns:
- a flag that specifies whether the tick marks are to be shown or not
-
setShowTickMarks
Description copied from interface:JRBarPlotSets a flag that specifies whether the tick marks are to be shown or not- Specified by:
setShowTickMarksin interfaceJRBarPlot- Parameters:
isShowTickMarks- the show tick marks flag
-
getShowTickLabels
- Specified by:
getShowTickLabelsin interfaceJRBarPlot- Returns:
- a flag that specifies whether the tick labels are to be shown or not
-
setShowTickLabels
Description copied from interface:JRBarPlotSets a flag that specifies whether the tick labels are to be shown or not- Specified by:
setShowTickLabelsin interfaceJRBarPlot- Parameters:
showTickLabels- the show tick labels flag
-
collectExpressions
- Specified by:
collectExpressionsin interfaceJRChartPlot
-
clone
- Specified by:
clonein interfaceJRChartPlot- Overrides:
clonein classJRBaseChartPlot
-