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 JRFillChartfillChartThe filled version of thechartfield.protected JRChartAxisparent
-
Constructor Summary
Constructors Constructor Description JRFillChartAxis(JRChartAxis axis, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()JRChartAxisclone(JRChart parentChart)JRChartgetChart()Returns the chart that contains the dataset and plot to use for this axis.JRFillChartgetFillChart()Return the filled version of the chart with the dataset and plot for this axis.AxisPositionEnumgetPositionValue()Gets the position of this axis.
-
-
-
Field Detail
-
parent
protected JRChartAxis parent
-
fillChart
protected JRFillChart fillChart
The filled version of thechartfield. Contains evaluated expressions and data.
-
-
Constructor Detail
-
JRFillChartAxis
public JRFillChartAxis(JRChartAxis axis, JRFillObjectFactory 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
-
getChart
public JRChart getChart()
Description copied from interface:JRChartAxisReturns 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:
getChartin interfaceJRChartAxis- Returns:
- the chart that contains the dataset and plot for this axis
-
getPositionValue
public AxisPositionEnum getPositionValue()
Description copied from interface:JRChartAxisGets the position of this axis.- Specified by:
getPositionValuein interfaceJRChartAxis- Returns:
- the position of this axis
-
clone
public Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
clone
public JRChartAxis clone(JRChart parentChart)
- Specified by:
clonein interfaceJRChartAxis
-
-