public class JRDesignChartAxis extends JRBaseChartAxis implements JRChangeEventsSupport
JRChartAxis
implementation to be used for report design.Modifier and Type | Field and Description |
---|---|
protected JRDesignChart |
parentChart
The multiple axis chart that this axis belongs to.
|
static java.lang.String |
PROPERTY_CHART |
static java.lang.String |
PROPERTY_POSITION |
chart, positionValue
Constructor and Description |
---|
JRDesignChartAxis(JRDesignChart parentChart)
Construct a new axis that will be added to the specified chart.
|
Modifier and Type | Method and Description |
---|---|
void |
addElement(JRElement element)
Sets the chart that contains the dataset and plot for this axis.
|
java.lang.Object |
clone() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
void |
setChart(JRDesignChart chart)
Set the chart that contains the dataset and plot to use for this
axis.
|
void |
setPosition(AxisPositionEnum positionValue)
Sets the position of this axis' value line relative to the multiple
axis chart.
|
getChart, getPositionValue
public static final java.lang.String PROPERTY_CHART
public static final java.lang.String PROPERTY_POSITION
protected JRDesignChart parentChart
public JRDesignChartAxis(JRDesignChart parentChart)
parentChart
- the chart that the axis will be added topublic void setPosition(AxisPositionEnum positionValue)
positionValue
- the position of this axispublic void setChart(JRDesignChart chart)
chart
- the chart that contains the dataset and plot for this axispublic void addElement(JRElement element)
setChart(net.sf.jasperreports.engine.design.JRDesignChart)
but is called by the XML digester
when parsing the report source.element
- public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class JRBaseChartAxis
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com