net.sf.jasperreports.engine
Interface JRChartPlot

All Known Subinterfaces:
JRAreaPlot, JRBar3DPlot, JRBarPlot, JRBubblePlot, JRCandlestickPlot, JRHighLowPlot, JRLinePlot, JRPie3DPlot, JRPiePlot, JRScatterPlot, JRTimeSeriesPlot
All Known Implementing Classes:
JRBaseAreaPlot, JRBaseBar3DPlot, JRBaseBarPlot, JRBaseBubblePlot, JRBaseCandlestickPlot, JRBaseChartPlot, JRBaseHighLowPlot, JRBaseLinePlot, JRBasePie3DPlot, JRBasePiePlot, JRBaseScatterPlot, JRBaseTimeSeriesPlot, JRFillAreaPlot, JRFillBar3DPlot, JRFillBarPlot, JRFillBubblePlot, JRFillCandlestickPlot, JRFillChartPlot, JRFillHighLowPlot, JRFillLinePlot, JRFillPie3DPlot, JRFillPiePlot, JRFillScatterPlot, JRFillTimeSeriesPlot

public interface JRChartPlot

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.

Version:
$Id: JRChartPlot.java,v 1.6 2005/08/19 13:29:07 ionutned Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Method Summary
 void collectExpressions(JRExpressionCollector collector)
           
 java.awt.Color getBackcolor()
          Gets the chart background color.
 float getBackgroundAlpha()
          Gets the transparency factor for this plot background.
 float getForegroundAlpha()
          Gets the transparency factor for this plot foreground.
 org.jfree.chart.plot.PlotOrientation getOrientation()
          Gets the plot orientation (horizontal or vertical).
 void setBackcolor(java.awt.Color backcolor)
          Sets the chart background color.
 void setBackgroundAlpha(float backgroundAlpha)
          Sets the transparency factor for this plot background.
 void setForegroundAlpha(float foregroundAlpha)
          Sets the transparency factor for this plot foreground.
 void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
          Sets the plot orientation (horizontal or vertical).
 

Method Detail

getBackcolor

public java.awt.Color getBackcolor()
Gets the chart background color.


setBackcolor

public void setBackcolor(java.awt.Color backcolor)
Sets the chart background color.


getOrientation

public org.jfree.chart.plot.PlotOrientation getOrientation()
Gets the plot orientation (horizontal or vertical).


setOrientation

public void setOrientation(org.jfree.chart.plot.PlotOrientation orientation)
Sets the plot orientation (horizontal or vertical).


getBackgroundAlpha

public float getBackgroundAlpha()
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.

Returns:
a float value between 0 and 1.

setBackgroundAlpha

public void setBackgroundAlpha(float backgroundAlpha)
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.


getForegroundAlpha

public float getForegroundAlpha()
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.

Returns:
a float value between 0 and 1.

setForegroundAlpha

public void setForegroundAlpha(float foregroundAlpha)
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.


collectExpressions

public void collectExpressions(JRExpressionCollector collector)


© 2001-2005 JasperSoft Corporation www.jaspersoft.com