org.pentaho.chart.model
Class Plot

java.lang.Object
  extended by org.pentaho.chart.model.Plot
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
DialPlot, PiePlot, TwoAxisPlot

public abstract class Plot
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class Plot.Orientation
           
 
Field Summary
static Palette DEFAULT_PALETTE
           
 
Constructor Summary
Plot()
           
 
Method Summary
 Object getBackground()
           
 Float getOpacity()
           
 Plot.Orientation getOrientation()
           
 Palette getPalette()
           
 CssStyle getStyle()
           
 void setBackground(Gradient backgroundGradient)
          Not implemented
 void setBackground(Integer backgroundColor)
          StyledText.setBackgroundColor(Integer)
 void setBackground(String backgroundImageLocation)
          Not implemented
 void setBackground(Texture backgroundTexture)
          Not implemented
 void setOpacity(Float opacity)
          CssStyle.setOpacity(Float)
 void setOrientation(Plot.Orientation orientation)
          Orientation of the chart.
 void setPalette(Palette colorPalette)
          A Palette is a list of RGB colors in Hex format (i.e.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PALETTE

public static final Palette DEFAULT_PALETTE
Constructor Detail

Plot

public Plot()
Method Detail

getBackground

public Object getBackground()

setBackground

public void setBackground(Integer backgroundColor)
StyledText.setBackgroundColor(Integer)

Parameters:
backgroundColor -

setBackground

public void setBackground(String backgroundImageLocation)
Not implemented

Parameters:
backgroundImageLocation -

setBackground

public void setBackground(Gradient backgroundGradient)
Not implemented

Parameters:
backgroundGradient -

setBackground

public void setBackground(Texture backgroundTexture)
Not implemented

Parameters:
backgroundTexture -

getOrientation

public Plot.Orientation getOrientation()

setOrientation

public void setOrientation(Plot.Orientation orientation)
Orientation of the chart.

Possible values
vertical
horizontal

Parameters:
orientation -

getPalette

public Palette getPalette()

setPalette

public void setPalette(Palette colorPalette)
A Palette is a list of RGB colors in Hex format (i.e. - #ffffff)

Parameters:
colorPalette -

getOpacity

public Float getOpacity()

setOpacity

public void setOpacity(Float opacity)
CssStyle.setOpacity(Float)

Parameters:
opacity -

getStyle

public CssStyle getStyle()