Package net.sf.jasperreports.charts.base
Class JRBaseScatterPlot
- java.lang.Object
-
- net.sf.jasperreports.charts.base.JRBaseChartPlot
-
- net.sf.jasperreports.charts.base.JRBaseScatterPlot
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRChartPlot
,JRCommonLinePlot
,JRScatterPlot
,JRXAxisFormat
,JRYAxisFormat
,JRChangeEventsSupport
,JRCloneable
- Direct Known Subclasses:
JRDesignScatterPlot
public class JRBaseScatterPlot extends JRBaseChartPlot implements JRScatterPlot
- Author:
- Teodor Danciu (teodord@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
xAxisLabelColor
protected JRExpression
xAxisLabelExpression
protected JRFont
xAxisLabelFont
protected Color
xAxisLineColor
protected Color
xAxisTickLabelColor
protected JRFont
xAxisTickLabelFont
protected String
xAxisTickLabelMask
protected Boolean
xAxisVerticalTickLabels
protected Color
yAxisLabelColor
protected JRExpression
yAxisLabelExpression
protected JRFont
yAxisLabelFont
protected Color
yAxisLineColor
protected Color
yAxisTickLabelColor
protected JRFont
yAxisTickLabelFont
protected String
yAxisTickLabelMask
protected Boolean
yAxisVerticalTickLabels
-
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 Constructor Description JRBaseScatterPlot(JRChartPlot plot, JRChart chart)
JRBaseScatterPlot(JRScatterPlot scatterPlot, 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
-
xAxisLabelExpression
protected JRExpression xAxisLabelExpression
-
xAxisLabelFont
protected JRFont xAxisLabelFont
-
xAxisLabelColor
protected Color xAxisLabelColor
-
xAxisTickLabelFont
protected JRFont xAxisTickLabelFont
-
xAxisTickLabelColor
protected Color xAxisTickLabelColor
-
xAxisTickLabelMask
protected String xAxisTickLabelMask
-
xAxisVerticalTickLabels
protected Boolean xAxisVerticalTickLabels
-
xAxisLineColor
protected Color xAxisLineColor
-
yAxisLabelExpression
protected JRExpression yAxisLabelExpression
-
yAxisLabelFont
protected JRFont yAxisLabelFont
-
yAxisLabelColor
protected Color yAxisLabelColor
-
yAxisTickLabelFont
protected JRFont yAxisTickLabelFont
-
yAxisTickLabelColor
protected Color yAxisTickLabelColor
-
yAxisTickLabelMask
protected String yAxisTickLabelMask
-
yAxisVerticalTickLabels
protected Boolean yAxisVerticalTickLabels
-
yAxisLineColor
protected Color yAxisLineColor
-
domainAxisMinValueExpression
protected JRExpression domainAxisMinValueExpression
-
domainAxisMaxValueExpression
protected JRExpression domainAxisMaxValueExpression
-
rangeAxisMinValueExpression
protected JRExpression rangeAxisMinValueExpression
-
rangeAxisMaxValueExpression
protected JRExpression rangeAxisMaxValueExpression
-
-
Constructor Detail
-
JRBaseScatterPlot
public JRBaseScatterPlot(JRChartPlot plot, JRChart chart)
-
JRBaseScatterPlot
public JRBaseScatterPlot(JRScatterPlot scatterPlot, ChartsBaseObjectFactory factory)
-
-
Method Detail
-
getXAxisLabelExpression
public JRExpression getXAxisLabelExpression()
- Specified by:
getXAxisLabelExpression
in interfaceJRScatterPlot
- Returns:
- the x axis label expression
-
getXAxisLabelFont
public JRFont getXAxisLabelFont()
- Specified by:
getXAxisLabelFont
in interfaceJRXAxisFormat
-
getXAxisLabelColor
public Color getXAxisLabelColor()
- Specified by:
getXAxisLabelColor
in interfaceJRXAxisFormat
-
getOwnXAxisLabelColor
public Color getOwnXAxisLabelColor()
- Specified by:
getOwnXAxisLabelColor
in interfaceJRXAxisFormat
-
getXAxisTickLabelFont
public JRFont getXAxisTickLabelFont()
- Specified by:
getXAxisTickLabelFont
in interfaceJRXAxisFormat
-
getXAxisTickLabelColor
public Color getXAxisTickLabelColor()
- Specified by:
getXAxisTickLabelColor
in interfaceJRXAxisFormat
-
getOwnXAxisTickLabelColor
public Color getOwnXAxisTickLabelColor()
- Specified by:
getOwnXAxisTickLabelColor
in interfaceJRXAxisFormat
-
getXAxisTickLabelMask
public String getXAxisTickLabelMask()
- Specified by:
getXAxisTickLabelMask
in interfaceJRXAxisFormat
-
getXAxisVerticalTickLabels
public Boolean getXAxisVerticalTickLabels()
- Specified by:
getXAxisVerticalTickLabels
in interfaceJRXAxisFormat
-
getXAxisLineColor
public Color getXAxisLineColor()
- Specified by:
getXAxisLineColor
in interfaceJRXAxisFormat
-
getOwnXAxisLineColor
public Color getOwnXAxisLineColor()
- Specified by:
getOwnXAxisLineColor
in interfaceJRXAxisFormat
-
getYAxisLabelExpression
public JRExpression getYAxisLabelExpression()
- Specified by:
getYAxisLabelExpression
in interfaceJRScatterPlot
- Returns:
- the y axis label expression
-
getYAxisLabelFont
public JRFont getYAxisLabelFont()
- Specified by:
getYAxisLabelFont
in interfaceJRYAxisFormat
-
getYAxisLabelColor
public Color getYAxisLabelColor()
- Specified by:
getYAxisLabelColor
in interfaceJRYAxisFormat
-
getOwnYAxisLabelColor
public Color getOwnYAxisLabelColor()
- Specified by:
getOwnYAxisLabelColor
in interfaceJRYAxisFormat
-
getYAxisTickLabelFont
public JRFont getYAxisTickLabelFont()
- Specified by:
getYAxisTickLabelFont
in interfaceJRYAxisFormat
-
getYAxisTickLabelColor
public Color getYAxisTickLabelColor()
- Specified by:
getYAxisTickLabelColor
in interfaceJRYAxisFormat
-
getOwnYAxisTickLabelColor
public Color getOwnYAxisTickLabelColor()
- Specified by:
getOwnYAxisTickLabelColor
in interfaceJRYAxisFormat
-
getYAxisTickLabelMask
public String getYAxisTickLabelMask()
- Specified by:
getYAxisTickLabelMask
in interfaceJRYAxisFormat
-
getYAxisVerticalTickLabels
public Boolean getYAxisVerticalTickLabels()
- Specified by:
getYAxisVerticalTickLabels
in interfaceJRYAxisFormat
-
getYAxisLineColor
public Color getYAxisLineColor()
- Specified by:
getYAxisLineColor
in interfaceJRYAxisFormat
-
getOwnYAxisLineColor
public Color getOwnYAxisLineColor()
- Specified by:
getOwnYAxisLineColor
in interfaceJRYAxisFormat
-
getShowShapes
public Boolean getShowShapes()
- Specified by:
getShowShapes
in interfaceJRCommonLinePlot
- Returns:
- the show shapes flag
-
getShowLines
public Boolean getShowLines()
- Specified by:
getShowLines
in interfaceJRCommonLinePlot
- Returns:
- the show lines flag
-
getDomainAxisMinValueExpression
public JRExpression getDomainAxisMinValueExpression()
- Specified by:
getDomainAxisMinValueExpression
in interfaceJRScatterPlot
- Returns:
- the minimum value expression for the domain axis
-
getDomainAxisMaxValueExpression
public JRExpression getDomainAxisMaxValueExpression()
- Specified by:
getDomainAxisMaxValueExpression
in interfaceJRScatterPlot
- Returns:
- the maximum value expression for the domain axis
-
getRangeAxisMinValueExpression
public JRExpression getRangeAxisMinValueExpression()
- Specified by:
getRangeAxisMinValueExpression
in interfaceJRScatterPlot
- Returns:
- the minimum value expression for the range axis
-
getRangeAxisMaxValueExpression
public JRExpression getRangeAxisMaxValueExpression()
- Specified by:
getRangeAxisMaxValueExpression
in interfaceJRScatterPlot
- Returns:
- the maximum value expression for the range axis
-
setShowShapes
public void setShowShapes(Boolean value)
Description copied from interface:JRCommonLinePlot
Sets the show shapes flag- Specified by:
setShowShapes
in interfaceJRCommonLinePlot
- Parameters:
value
- the show shapes flag
-
setShowLines
public void setShowLines(Boolean value)
Description copied from interface:JRCommonLinePlot
Sets the show lines flag- Specified by:
setShowLines
in interfaceJRCommonLinePlot
- Parameters:
value
- the show lines 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
-
-