Chart plots define chart appearance and display details such as colors, legend or labels. Each plot may have different
characteristics, depending on the chart type it belongs to. This is the superinterface for all plots and contains common
properties.
author: Teodor Danciu (teodord@users.sourceforge.net) version: $Id: JRChartPlot.java 1577 2007-02-09 11:25:48Z teodord $
Inner Class :public interface JRSeriesColor
Method Summary
public void
addSeriesColor(JRSeriesColor seriesColor) Adds the specified series color to the plot.
Gets the transparency factor for this plot background. The range is from 0 to 1, where 0 means transparent and 1
opaque. The default is 1.
a float value between 0 and 1.
Gets the chart associated with this chart plot, if available.
Implementations can return null on this method, especially if the chart plot
is reused by multiple charts, which is not recommended since it prevents style properties
inheritence from parent chart.
Gets the transparency factor for this plot foreground. The range is from 0 to 1, where 0 means transparent and 1
opaque. The default is 1.
a float value between 0 and 1.
Gets the angle in degrees to rotate the data axis labels. The range is -360 to 360. A positive value angles
the label so it reads downwards wile a negative value angles the label so it reads upwards. Only charts that
use a category based axis (such as line or bar charts) support label rotation.
Returns a list of all the defined series colors. Every entry in the list is of type JRChartPlot.JRSeriesColor.
If there are no defined series colors this method will return an empty list, not null.
public void setBackgroundAlpha(float backgroundAlpha)(Code)
Sets the transparency factor for this plot background. The range is from 0 to 1, where 0 means transparent and 1
opaque. The default is 1.
setForegroundAlpha
public void setForegroundAlpha(float foregroundAlpha)(Code)
Sets the transparency factor for this plot foreground. The range is from 0 to 1, where 0 means transparent and 1
opaque. The default is 1.
setLabelRotation
public void setLabelRotation(double labelRotation)(Code)
Sets the angle in degrees to rotate the data axis labels. The range is -360 to 360. A positive value angles
the label so it reads downwards wile a negative value angles the label so it reads upwards. Only charts that
use a category based axis (such as line or bar charts) support label rotation.
setOrientation
public void setOrientation(PlotOrientation orientation)(Code)
Sets the plot orientation (horizontal or vertical).