| |
|
| java.lang.Object net.sf.jasperreports.charts.base.JRBaseChartAxis net.sf.jasperreports.charts.design.JRDesignChartAxis
JRDesignChartAxis | public class JRDesignChartAxis extends JRBaseChartAxis (Code) | | JRChartAxis JRChartAxis implementation to be used for report design.
author: Barry Klawans (barry@users.sourceforge.net) version: $Id: JRDesignChartAxis.java 1794 2007-07-30 09:07:50Z teodord $ |
Method Summary | |
public void | addElement(JRElement element) Sets the chart that contains the dataset and plot for this axis. | public void | setChart(JRDesignChart chart) Set the chart that contains the dataset and plot to use for this
axis. | public void | setPosition(byte position) Sets the position of this axis' value line relative to the multiple
axis chart. |
parentChart | protected JRDesignChart parentChart(Code) | | The multiple axis chart that this axis belongs to.
|
JRDesignChartAxis | public JRDesignChartAxis(JRDesignChart parentChart)(Code) | | Construct a new axis that will be added to the specified chart.
Parameters: parentChart - the chart that the axis will be added to |
addElement | public void addElement(JRElement element)(Code) | | Sets the chart that contains the dataset and plot for this axis.
Identical to
JRDesignChartAxis.setChart but is called by the XML digester
when parsing the report source.
Parameters: element - |
setChart | public void setChart(JRDesignChart chart)(Code) | | Set 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 (ie
as a line or bar chart) when adding it to the multiple axis chart.
Parameters: chart - the chart that contains the dataset and plot for this axis |
setPosition | public void setPosition(byte position)(Code) | | Sets the position of this axis' value line relative to the multiple
axis chart.
Parameters: position - the position of this axis |
|
|
|