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.
|
net.sf.jasperreports.charts.type.PlotOrientationEnum |
getOrientation()
Returns the plot orientation (PlotOrientationEnum.HORIZONTAL or PlotOrientationEnum.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(net.sf.jasperreports.charts.type.PlotOrientationEnum orientation)
Sets the plot orientation (PlotOrientationEnum.HORIZONTAL or PlotOrientationEnum.VERTICAL).
|
void |
setSeriesColors(List<Color> seriesColors)
Set the specified series colors to the plot.
|
void |
transform(DynamicJasperDesign design,
net.sf.jasperreports.engine.JRChartPlot plot,
String name) |
public void setOrientation(net.sf.jasperreports.charts.type.PlotOrientationEnum orientation)
orientation - the plot orientationpublic net.sf.jasperreports.charts.type.PlotOrientationEnum getOrientation()
public void addSeriesColor(Color color)
color - the series colorpublic void clearSeriesColors()
public void setSeriesColors(List<Color> 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–2023 FDV Solutions. All rights reserved.