org.pentaho.chart.model
Class LinePlot

java.lang.Object
  extended by org.pentaho.chart.model.Plot
      extended by org.pentaho.chart.model.TwoAxisPlot
          extended by org.pentaho.chart.model.LinePlot
All Implemented Interfaces:
Serializable

public class LinePlot
extends TwoAxisPlot
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class LinePlot.LinePlotFlavor
           
 
Nested classes/interfaces inherited from class org.pentaho.chart.model.Plot
Plot.Orientation
 
Field Summary
 
Fields inherited from class org.pentaho.chart.model.Plot
DEFAULT_PALETTE
 
Constructor Summary
LinePlot()
           
LinePlot(LinePlot.LinePlotFlavor flavor)
           
 
Method Summary
 LinePlot.LinePlotFlavor getFlavor()
           
 Integer getLineWidth()
           
 void setFlavor(LinePlot.LinePlotFlavor flavor)
          Set the visual appeal of the chart.
 void setLineWidth(Integer width)
          The width of the lines that represent data in pixels.
 
Methods inherited from class org.pentaho.chart.model.TwoAxisPlot
getDomainAxis, getHorizontalAxis, getRangeAxis, getVerticalAxis, setOrientation
 
Methods inherited from class org.pentaho.chart.model.Plot
getBackground, getOpacity, getOrientation, getPalette, getStyle, setBackground, setBackground, setBackground, setBackground, setOpacity, setPalette
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinePlot

public LinePlot()

LinePlot

public LinePlot(LinePlot.LinePlotFlavor flavor)
Method Detail

getFlavor

public LinePlot.LinePlotFlavor getFlavor()

setFlavor

public void setFlavor(LinePlot.LinePlotFlavor flavor)
Set the visual appeal of the chart.

Possible values
PLAINStandard chart
THREEDThree-dimensional chart
DOTLines made of dots
DASHLines made of dashes
DASHDOTLines made of a dash then a dot, repeated
DASHDOTDOTLines made of a dash a dot and another dot, repeated

Parameters:
flavor -

setLineWidth

public void setLineWidth(Integer width)
The width of the lines that represent data in pixels.

Parameters:
width -

getLineWidth

public Integer getLineWidth()