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 String |
PROPERTY_CHART |
static 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.
|
Object |
clone() |
JRChartAxis |
clone(JRChart parentChart) |
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, getPositionValuepublic static final String PROPERTY_CHART
public static final 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 Object clone()
clone in interface JRCloneableclone in class JRBaseChartAxispublic JRChartAxis clone(JRChart parentChart)
clone in interface JRChartAxisclone in class JRBaseChartAxispublic JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportCopyright © 2017. All rights reserved.