Package net.sf.jasperreports.charts.fill
Class JRFillChartAxis
- java.lang.Object
-
- net.sf.jasperreports.charts.fill.JRFillChartAxis
-
- All Implemented Interfaces:
Cloneable
,JRChartAxis
,JRCloneable
public class JRFillChartAxis extends Object implements JRChartAxis
Describes an axis that can be added to a multiple axis chart. The name "axis" is a bit of a misnomer, as it really contains information about a new dataset to plot, the axis to plot it against, and how to render that dataset.- Author:
- Barry Klawans (barry@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRFillChart
fillChart
The filled version of thechart
field.protected JRFillMultiAxisPlot
fillMultiAxisPlot
protected JRChartAxis
parent
-
Constructor Summary
Constructors Constructor Description JRFillChartAxis(JRChartAxis axis, ChartsFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRChartAxis
clone(JRMultiAxisPlot multiAxisPlot)
JRChart
getChart()
Returns the chart that contains the dataset and plot to use for this axis.JRFillChart
getFillChart()
Return the filled version of the chart with the dataset and plot for this axis.JRMultiAxisPlot
getMultiAxisPlot()
AxisPositionEnum
getPosition()
Gets the position of this axis.
-
-
-
Field Detail
-
parent
protected JRChartAxis parent
-
fillMultiAxisPlot
protected JRFillMultiAxisPlot fillMultiAxisPlot
-
fillChart
protected JRFillChart fillChart
The filled version of thechart
field. Contains evaluated expressions and data.
-
-
Constructor Detail
-
JRFillChartAxis
public JRFillChartAxis(JRChartAxis axis, ChartsFillObjectFactory factory)
-
-
Method Detail
-
getFillChart
public JRFillChart getFillChart()
Return the filled version of the chart with the dataset and plot for this axis.- Returns:
- the filled version of the chart with the dataset and plot for this axis
-
getMultiAxisPlot
public JRMultiAxisPlot getMultiAxisPlot()
- Specified by:
getMultiAxisPlot
in interfaceJRChartAxis
-
getChart
public JRChart getChart()
Description copied from interface:JRChartAxis
Returns the chart that contains the dataset and plot to use for this axis. The plot is used to figure out how to render the dataset when adding to the multiple axis chart.- Specified by:
getChart
in interfaceJRChartAxis
- Returns:
- the chart that contains the dataset and plot for this axis
-
getPosition
public AxisPositionEnum getPosition()
Description copied from interface:JRChartAxis
Gets the position of this axis.- Specified by:
getPosition
in interfaceJRChartAxis
- Returns:
- the position of this axis
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
clone
public JRChartAxis clone(JRMultiAxisPlot multiAxisPlot)
- Specified by:
clone
in interfaceJRChartAxis
-
-