Package net.sf.jasperreports.charts.base
Class JRBaseMultiAxisPlot
java.lang.Object
net.sf.jasperreports.charts.base.JRBaseChartPlot
net.sf.jasperreports.charts.base.JRBaseMultiAxisPlot
- All Implemented Interfaces:
Serializable,Cloneable,JRChartPlot,JRMultiAxisPlot,JRChangeEventsSupport,JRCloneable
- Direct Known Subclasses:
JRDesignMultiAxisPlot
An immutable representation of the layout options of a 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
FieldsModifier and TypeFieldDescriptionprotected List<JRChartAxis> All the axes contained in this plot.Fields 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
ConstructorsConstructorDescriptionJRBaseMultiAxisPlot(JRChartPlot multiAxisPlot, JRChart chart) Constructs a copy of an existing multiple axis chart plot.JRBaseMultiAxisPlot(JRMultiAxisPlot multiAxisPlot, ChartsBaseObjectFactory factory) Creates a copy of an existing multiple axis chart plot and registers any expression contained in the plot with the specified factory. -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectExpressions(ChartsExpressionCollector collector) Adds all the expression used by this plot with the specified collector.getAxes()Returns a List of all the children axis.Methods 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
-
axes
All the axes contained in this plot. Each entry indicates a chart containing the dataset and layout of that entry and where to draw that chart's range axis. All entries in the list are of the typeJRChartAxis
-
-
Constructor Details
-
JRBaseMultiAxisPlot
Constructs a copy of an existing multiple axis chart plot.- Parameters:
multiAxisPlot- the plot to copy
-
JRBaseMultiAxisPlot
Creates a copy of an existing multiple axis chart plot and registers any expression contained in the plot with the specified factory. Since the plot contains multiple other charts nested inside of it all of the expressions used by those charts is also registered with the factory.- Parameters:
multiAxisPlot- the plot to copyfactory- the factory to register expressions with
-
-
Method Details
-
getAxes
Description copied from interface:JRMultiAxisPlotReturns a List of all the children axis. Each element is of typeJRChartAxis.- Specified by:
getAxesin interfaceJRMultiAxisPlot
-
collectExpressions
Adds all the expression used by this plot with the specified collector. All collected expression that are also registered with a factory will be included with the report is compiled.- Specified by:
collectExpressionsin interfaceJRChartPlot- Parameters:
collector- the expression collector to use
-
clone
- Specified by:
clonein interfaceJRChartPlot- Overrides:
clonein classJRBaseChartPlot
-