Package net.sf.jasperreports.charts.base
Class JRBaseTimeSeriesPlot
- java.lang.Object
-
- net.sf.jasperreports.charts.base.JRBaseChartPlot
-
- net.sf.jasperreports.charts.base.JRBaseTimeSeriesPlot
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRChartPlot
,JRCommonLinePlot
,JRTimeAxisFormat
,JRTimeSeriesPlot
,JRValueAxisFormat
,JRChangeEventsSupport
,JRCloneable
- Direct Known Subclasses:
JRDesignTimeSeriesPlot
public class JRBaseTimeSeriesPlot extends JRBaseChartPlot implements JRTimeSeriesPlot
- Author:
- Flavius Sana (flavius_sana@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.jasperreports.charts.base.JRBaseChartPlot
JRBaseChartPlot.JRBaseSeriesColor
-
Nested classes/interfaces inherited from interface net.sf.jasperreports.charts.JRChartPlot
JRChartPlot.JRSeriesColor
-
-
Field Summary
Fields Modifier and Type Field Description protected JRExpression
domainAxisMaxValueExpression
protected JRExpression
domainAxisMinValueExpression
static String
PROPERTY_SHOW_LINES
static String
PROPERTY_SHOW_SHAPES
protected JRExpression
rangeAxisMaxValueExpression
protected JRExpression
rangeAxisMinValueExpression
protected Color
timeAxisLabelColor
protected JRExpression
timeAxisLabelExpression
protected JRFont
timeAxisLabelFont
protected Color
timeAxisLineColor
protected Color
timeAxisTickLabelColor
protected JRFont
timeAxisTickLabelFont
protected String
timeAxisTickLabelMask
protected Boolean
timeAxisVerticalTickLabels
protected Color
valueAxisLabelColor
protected JRExpression
valueAxisLabelExpression
protected JRFont
valueAxisLabelFont
protected Color
valueAxisLineColor
protected Color
valueAxisTickLabelColor
protected JRFont
valueAxisTickLabelFont
protected String
valueAxisTickLabelMask
protected Boolean
valueAxisVerticalTickLabels
-
Fields 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, seriesColors
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRBaseTimeSeriesPlot(JRChartPlot plot, JRChart chart)
JRBaseTimeSeriesPlot(JRTimeSeriesPlot plot, ChartsBaseObjectFactory factory)
-
Method Summary
-
Methods 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, setSeriesColors
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.charts.JRChartPlot
addSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColors
-
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
-
-
-
Field Detail
-
PROPERTY_SHOW_LINES
public static final String PROPERTY_SHOW_LINES
- See Also:
- Constant Field Values
-
PROPERTY_SHOW_SHAPES
public static final String PROPERTY_SHOW_SHAPES
- See Also:
- Constant Field Values
-
timeAxisLabelExpression
protected JRExpression timeAxisLabelExpression
-
timeAxisLabelFont
protected JRFont timeAxisLabelFont
-
timeAxisLabelColor
protected Color timeAxisLabelColor
-
timeAxisTickLabelFont
protected JRFont timeAxisTickLabelFont
-
timeAxisTickLabelColor
protected Color timeAxisTickLabelColor
-
timeAxisTickLabelMask
protected String timeAxisTickLabelMask
-
timeAxisVerticalTickLabels
protected Boolean timeAxisVerticalTickLabels
-
timeAxisLineColor
protected Color timeAxisLineColor
-
valueAxisLabelExpression
protected JRExpression valueAxisLabelExpression
-
rangeAxisMinValueExpression
protected JRExpression rangeAxisMinValueExpression
-
rangeAxisMaxValueExpression
protected JRExpression rangeAxisMaxValueExpression
-
domainAxisMinValueExpression
protected JRExpression domainAxisMinValueExpression
-
domainAxisMaxValueExpression
protected JRExpression domainAxisMaxValueExpression
-
valueAxisLabelFont
protected JRFont valueAxisLabelFont
-
valueAxisLabelColor
protected Color valueAxisLabelColor
-
valueAxisTickLabelFont
protected JRFont valueAxisTickLabelFont
-
valueAxisTickLabelColor
protected Color valueAxisTickLabelColor
-
valueAxisTickLabelMask
protected String valueAxisTickLabelMask
-
valueAxisVerticalTickLabels
protected Boolean valueAxisVerticalTickLabels
-
valueAxisLineColor
protected Color valueAxisLineColor
-
-
Constructor Detail
-
JRBaseTimeSeriesPlot
protected JRBaseTimeSeriesPlot(JRChartPlot plot, JRChart chart)
-
JRBaseTimeSeriesPlot
public JRBaseTimeSeriesPlot(JRTimeSeriesPlot plot, ChartsBaseObjectFactory factory)
-
-
Method Detail
-
getTimeAxisLabelExpression
public JRExpression getTimeAxisLabelExpression()
- Specified by:
getTimeAxisLabelExpression
in interfaceJRTimeSeriesPlot
- Returns:
- the time axis label expression
-
getTimeAxisLabelFont
public JRFont getTimeAxisLabelFont()
- Specified by:
getTimeAxisLabelFont
in interfaceJRTimeAxisFormat
-
getTimeAxisLabelColor
public Color getTimeAxisLabelColor()
- Specified by:
getTimeAxisLabelColor
in interfaceJRTimeAxisFormat
-
getOwnTimeAxisLabelColor
public Color getOwnTimeAxisLabelColor()
- Specified by:
getOwnTimeAxisLabelColor
in interfaceJRTimeAxisFormat
-
getTimeAxisTickLabelFont
public JRFont getTimeAxisTickLabelFont()
- Specified by:
getTimeAxisTickLabelFont
in interfaceJRTimeAxisFormat
-
getTimeAxisTickLabelColor
public Color getTimeAxisTickLabelColor()
- Specified by:
getTimeAxisTickLabelColor
in interfaceJRTimeAxisFormat
-
getOwnTimeAxisTickLabelColor
public Color getOwnTimeAxisTickLabelColor()
- Specified by:
getOwnTimeAxisTickLabelColor
in interfaceJRTimeAxisFormat
-
getTimeAxisTickLabelMask
public String getTimeAxisTickLabelMask()
- Specified by:
getTimeAxisTickLabelMask
in interfaceJRTimeAxisFormat
-
getTimeAxisVerticalTickLabels
public Boolean getTimeAxisVerticalTickLabels()
- Specified by:
getTimeAxisVerticalTickLabels
in interfaceJRTimeAxisFormat
-
getTimeAxisLineColor
public Color getTimeAxisLineColor()
- Specified by:
getTimeAxisLineColor
in interfaceJRTimeAxisFormat
-
getOwnTimeAxisLineColor
public Color getOwnTimeAxisLineColor()
- Specified by:
getOwnTimeAxisLineColor
in interfaceJRTimeAxisFormat
-
getValueAxisLabelExpression
public JRExpression getValueAxisLabelExpression()
- Specified by:
getValueAxisLabelExpression
in interfaceJRTimeSeriesPlot
- Returns:
- the value axis label expression
-
getDomainAxisMinValueExpression
public JRExpression getDomainAxisMinValueExpression()
- Specified by:
getDomainAxisMinValueExpression
in interfaceJRTimeSeriesPlot
- Returns:
- the minimum value expression for the domain axis
-
getDomainAxisMaxValueExpression
public JRExpression getDomainAxisMaxValueExpression()
- Specified by:
getDomainAxisMaxValueExpression
in interfaceJRTimeSeriesPlot
- Returns:
- the maximum value expression for the domain axis
-
getRangeAxisMinValueExpression
public JRExpression getRangeAxisMinValueExpression()
- Specified by:
getRangeAxisMinValueExpression
in interfaceJRTimeSeriesPlot
- Returns:
- the minimum value expression for the range axis
-
getRangeAxisMaxValueExpression
public JRExpression getRangeAxisMaxValueExpression()
- Specified by:
getRangeAxisMaxValueExpression
in interfaceJRTimeSeriesPlot
- Returns:
- the maximum value expression for the range axis
-
getValueAxisLabelFont
public JRFont getValueAxisLabelFont()
- Specified by:
getValueAxisLabelFont
in interfaceJRValueAxisFormat
-
getValueAxisLabelColor
public Color getValueAxisLabelColor()
- Specified by:
getValueAxisLabelColor
in interfaceJRValueAxisFormat
-
getOwnValueAxisLabelColor
public Color getOwnValueAxisLabelColor()
- Specified by:
getOwnValueAxisLabelColor
in interfaceJRValueAxisFormat
-
getValueAxisTickLabelFont
public JRFont getValueAxisTickLabelFont()
- Specified by:
getValueAxisTickLabelFont
in interfaceJRValueAxisFormat
-
getValueAxisTickLabelColor
public Color getValueAxisTickLabelColor()
- Specified by:
getValueAxisTickLabelColor
in interfaceJRValueAxisFormat
-
getOwnValueAxisTickLabelColor
public Color getOwnValueAxisTickLabelColor()
- Specified by:
getOwnValueAxisTickLabelColor
in interfaceJRValueAxisFormat
-
getValueAxisTickLabelMask
public String getValueAxisTickLabelMask()
- Specified by:
getValueAxisTickLabelMask
in interfaceJRValueAxisFormat
-
getValueAxisVerticalTickLabels
public Boolean getValueAxisVerticalTickLabels()
- Specified by:
getValueAxisVerticalTickLabels
in interfaceJRValueAxisFormat
-
getValueAxisLineColor
public Color getValueAxisLineColor()
- Specified by:
getValueAxisLineColor
in interfaceJRValueAxisFormat
-
getOwnValueAxisLineColor
public Color getOwnValueAxisLineColor()
- Specified by:
getOwnValueAxisLineColor
in interfaceJRValueAxisFormat
-
getShowLines
public Boolean getShowLines()
- Specified by:
getShowLines
in interfaceJRCommonLinePlot
- Returns:
- the show lines flag
-
getShowShapes
public Boolean getShowShapes()
- Specified by:
getShowShapes
in interfaceJRCommonLinePlot
- Returns:
- the show shapes flag
-
setShowLines
public void setShowLines(Boolean val)
Description copied from interface:JRCommonLinePlot
Sets the show lines flag- Specified by:
setShowLines
in interfaceJRCommonLinePlot
- Parameters:
val
- the show lines flag
-
setShowShapes
public void setShowShapes(Boolean val)
Description copied from interface:JRCommonLinePlot
Sets the show shapes flag- Specified by:
setShowShapes
in interfaceJRCommonLinePlot
- Parameters:
val
- the show shapes flag
-
collectExpressions
public void collectExpressions(ChartsExpressionCollector collector)
- Specified by:
collectExpressions
in interfaceJRChartPlot
-
clone
public Object clone(JRChart parentChart)
- Specified by:
clone
in interfaceJRChartPlot
- Overrides:
clone
in classJRBaseChartPlot
-
-