com.linksoft.chart
Class Plotter

java.lang.Object
  extended bycom.linksoft.chart.ChartComponent
      extended bycom.linksoft.chart.Plotter
Direct Known Subclasses:
BarPlotter, BarPlotter3D, GaugePlotter, LinePlotter, LinePlotter3D, PiePlotter, RadarPlotter

public class Plotter
extends ChartComponent

Copyright (c) 2002-2005 LinkSoft Systems, Inc. All Rights Reserved


Field Summary
 FillStyle back
           
 ChartImage backImage
           
protected  boolean combinable
           
 int depth
           
protected  int needsAxis
           
 int visibleHeight
           
 int visibleWidth
           
 Scale XScale
           
 Scale Y2Scale
           
 Scale YScale
           
 
Fields inherited from class com.linksoft.chart.ChartComponent
chart, height, width, x, y
 
Constructor Summary
Plotter()
           
 
Method Summary
 void addSerie(DataSerie s)
           
protected  Scale getActiveXScale(DataSerie s)
           
protected  Scale getActiveYScale(DataSerie s)
           
 boolean getCombinable()
           
 int getNeedsAxis()
           
 DataSerie getSerie(int p)
           
 int getSeriesCount()
           
protected  boolean inSameSubChart(DataSerie tmpSerie, DataSerie s)
           
 void plot(ChartGraphics g)
           
 void plotBackground(ChartGraphics g, int bw, int bh, int offsetX, int offsetY)
           
protected  void plotSerie(ChartGraphics chartgraphics, DataSerie dataserie, int i)
           
 void replaceSerie(int p, DataSerie s)
           
 void setSerie(int p, DataSerie s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

needsAxis

protected int needsAxis

combinable

protected boolean combinable

XScale

public Scale XScale

YScale

public Scale YScale

Y2Scale

public Scale Y2Scale

back

public FillStyle back

backImage

public ChartImage backImage

visibleWidth

public int visibleWidth

visibleHeight

public int visibleHeight

depth

public int depth
Constructor Detail

Plotter

public Plotter()
Method Detail

getNeedsAxis

public int getNeedsAxis()

getCombinable

public boolean getCombinable()

plotBackground

public void plotBackground(ChartGraphics g,
                           int bw,
                           int bh,
                           int offsetX,
                           int offsetY)

plot

public void plot(ChartGraphics g)

plotSerie

protected void plotSerie(ChartGraphics chartgraphics,
                         DataSerie dataserie,
                         int i)

getSeriesCount

public int getSeriesCount()

getSerie

public DataSerie getSerie(int p)

setSerie

public void setSerie(int p,
                     DataSerie s)

addSerie

public void addSerie(DataSerie s)

replaceSerie

public void replaceSerie(int p,
                         DataSerie s)

getActiveXScale

protected Scale getActiveXScale(DataSerie s)

getActiveYScale

protected Scale getActiveYScale(DataSerie s)

inSameSubChart

protected boolean inSameSubChart(DataSerie tmpSerie,
                                 DataSerie s)