Package net.sf.jasperreports.charts.base
Class JRBaseChartAxis
java.lang.Object
net.sf.jasperreports.charts.base.JRBaseChartAxis
- All Implemented Interfaces:
Serializable,Cloneable,JRChartAxis,JRCloneable
- Direct Known Subclasses:
JRDesignChartAxis
Base read-only implementation of
JRChartAxis.- Author:
- Barry Klawans (barry@users.sourceforge.net)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JRChartThe Chart object containing the dataset and plot to use with this axis.protected AxisPositionEnumWhere to position the axis. -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a new axis that will be added to the specified chart.JRBaseChartAxis(JRChartAxis axis, JRBaseObjectFactory factory) -
Method Summary
-
Field Details
-
positionValue
Where to position the axis. -
chart
The Chart object containing the dataset and plot to use with this axis.
-
-
Constructor Details
-
JRBaseChartAxis
public JRBaseChartAxis()Construct a new axis that will be added to the specified chart. -
JRBaseChartAxis
-
-
Method Details
-
getPositionValue
Returns the position of this axis.- Specified by:
getPositionValuein interfaceJRChartAxis- Returns:
- the position of this axis
-
getChart
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:
getChartin interfaceJRChartAxis- Returns:
- the chart that contains the dataset and plot for this axis
-
clone
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classObject
-
clone
- Specified by:
clonein interfaceJRChartAxis
-