Class AbstractBasePlot
java.lang.Object
net.sf.dynamicreports.report.base.chart.plot.AbstractBasePlot
- All Implemented Interfaces:
Serializable
,DRIBasePlot
,DRIPlot
- Direct Known Subclasses:
DRAxisPlot
,DRPiePlot
Abstract AbstractBasePlot class.
- Author:
- Ricardo Mariaca
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSeriesColor
(Color color) addSeriesColor.void
addSeriesColorByName
(String seriesName, Color color) addSeriesColorByName.getOrientation.getSeriesColors.getSeriesColorsByName.protected void
init()
init.void
setOrientation
(Orientation orientation) Setter for the fieldorientation
.void
setSeriesColors
(List<Color> seriesColors) Setter for the fieldseriesColors
.void
setSeriesColorsByName
(Map<String, Color> seriesColorsByName) Setter for the fieldseriesColorsByName
.
-
Constructor Details
-
AbstractBasePlot
protected AbstractBasePlot()Constructor for AbstractBasePlot.
-
-
Method Details
-
init
protected void init()init.
-
getOrientation
getOrientation.
- Specified by:
getOrientation
in interfaceDRIBasePlot
- Returns:
- a
Orientation
object.
-
setOrientation
Setter for the field
orientation
.- Parameters:
orientation
- aOrientation
object.
-
addSeriesColor
addSeriesColor.
- Parameters:
color
- aColor
object.
-
getSeriesColors
getSeriesColors.
- Specified by:
getSeriesColors
in interfaceDRIBasePlot
- Returns:
- a
List
object.
-
setSeriesColors
Setter for the field
seriesColors
.- Parameters:
seriesColors
- aList
object.
-
addSeriesColorByName
addSeriesColorByName.
-
getSeriesColorsByName
getSeriesColorsByName.
- Specified by:
getSeriesColorsByName
in interfaceDRIBasePlot
- Returns:
- a
Map
object.
-
setSeriesColorsByName
Setter for the field
seriesColorsByName
.- Parameters:
seriesColorsByName
- aMap
object.
-