public abstract class AbstractPlot extends DJBaseElement
SERIAL_VERSION_UID
Constructor and Description |
---|
AbstractPlot() |
Modifier and Type | Method and Description |
---|---|
void |
addSeriesColor(Color color)
Adds the specified series color to the plot.
|
void |
clearSeriesColors()
Removes all defined series colors.
|
Double |
getLabelRotation()
Gets the angle in degrees to rotate the data axis labels.
|
org.jfree.chart.plot.PlotOrientation |
getOrientation()
Returns the plot orientation (PlotOrientation.HORIZONTAL or PlotOrientation.VERTICAL).
|
List |
getSeriesColors()
Returns a list of all the defined series colors.
|
void |
setLabelRotation(Double labelRotation)
Sets the angle in degrees to rotate the data axis labels.
|
void |
setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Sets the plot orientation (PlotOrientation.HORIZONTAL or PlotOrientation.VERTICAL).
|
void |
setSeriesColors(List seriesColors)
Set the specified series colors to the plot.
|
void |
transform(DynamicJasperDesign design,
net.sf.jasperreports.engine.JRChartPlot plot,
String name) |
public void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
orientation
- the plot orientationpublic org.jfree.chart.plot.PlotOrientation getOrientation()
public void addSeriesColor(Color color)
color
- the series colorpublic void clearSeriesColors()
public void setSeriesColors(List seriesColors)
seriesColors
- the series colorspublic List getSeriesColors()
public void setLabelRotation(Double labelRotation)
labelRotation
- the label rotationpublic Double getLabelRotation()
public void transform(DynamicJasperDesign design, net.sf.jasperreports.engine.JRChartPlot plot, String name)
Copyright © 2006–2015 FDV Solutions. All rights reserved.