Class JRDesignMultiAxisPlot
java.lang.Object
net.sf.jasperreports.charts.base.JRBaseChartPlot
net.sf.jasperreports.charts.base.JRBaseMultiAxisPlot
net.sf.jasperreports.charts.design.JRDesignMultiAxisPlot
- All Implemented Interfaces:
Serializable,Cloneable,JRChartPlot,JRMultiAxisPlot,JRChangeEventsSupport,JRCloneable
Contains information on how a multiple axis chart should be
displayed. This information overrides the display information
for all the charts sharing the single domain axis in the multiple
axis chart.
- Author:
- Barry Klawans (bklawans@users.sourceforge.net)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.jasperreports.charts.base.JRBaseChartPlot
JRBaseChartPlot.JRBaseSeriesColorNested classes/interfaces inherited from interface net.sf.jasperreports.charts.JRChartPlot
JRChartPlot.JRSeriesColor -
Field Summary
FieldsFields inherited from class net.sf.jasperreports.charts.base.JRBaseMultiAxisPlot
axesFields inherited from class net.sf.jasperreports.charts.base.JRBaseChartPlot
backcolor, backgroundAlpha, chart, foregroundAlpha, labelRotation, orientation, PROPERTY_BACKCOLOR, PROPERTY_BACKGROUND_ALPHA, PROPERTY_FOREGROUND_ALPHA, PROPERTY_LABEL_ROTATION, PROPERTY_ORIENTATION, PROPERTY_SERIES_COLORS, seriesColors -
Constructor Summary
ConstructorsConstructorDescriptionJRDesignMultiAxisPlot(JRChartPlot multiAxisPlot, JRChart chart) Constructs a new plot by copying an existing one. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAxis(int index, JRChartAxis axis) Adds an axis to the plot.voidaddAxis(JRChartAxis axis) Adds an axis to the plot.voidRemoves all the axes from the plot.removeAxis(JRChartAxis axis) voidsetChart(JRDesignChart chart) Sets the chart object that this plot belongs to.Methods inherited from class net.sf.jasperreports.charts.base.JRBaseMultiAxisPlot
clone, collectExpressions, getAxesMethods inherited from class net.sf.jasperreports.charts.base.JRBaseChartPlot
addSeriesColor, clearSeriesColors, clone, getBackcolor, getBackgroundAlpha, getChart, getEventSupport, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, getStyleResolver, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColorsMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.jasperreports.charts.JRChartPlot
addSeriesColor, clearSeriesColors, getBackcolor, getBackgroundAlpha, getChart, getForegroundAlpha, getLabelRotation, getOrientation, getOwnBackcolor, getSeriesColors, setBackcolor, setBackgroundAlpha, setForegroundAlpha, setLabelRotation, setOrientation, setSeriesColorsMethods inherited from interface net.sf.jasperreports.engine.JRCloneable
clone
-
Field Details
-
PROPERTY_CHART
- See Also:
-
PROPERTY_AXES
- See Also:
-
-
Constructor Details
-
JRDesignMultiAxisPlot
Constructs a new plot by copying an existing one.- Parameters:
multiAxisPlot- the plot to copy
-
-
Method Details
-
addAxis
Adds an axis to the plot. The axis contains the complete information on the data and rendering to use as well as where to draw the axis.- Parameters:
axis- the axis to add to the plot
-
addAxis
Adds an axis to the plot. The axis contains the complete information on the data and rendering to use as well as where to draw the axis.- Parameters:
axis- the axis to add to the plot
-
removeAxis
-
clearAxes
public void clearAxes()Removes all the axes from the plot. -
setChart
Sets the chart object that this plot belongs to. The chart object defines all the information about the multiple axis chart.- Parameters:
chart- the chart that this plot belongs to
-