|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.java4less.rchart.ChartComponent | +--com.java4less.rchart.Plotter
base class used to plot a chart.
Field Summary | |
FillStyle |
back
background of the plotter area. |
java.awt.Image |
backImage
background image of the plotter area. |
int |
depth
depth of the chart (in 3D charts). |
int |
visibleHeight
|
int |
visibleWidth
|
Scale |
XScale
scale of the X Axis. |
Scale |
Y2Scale
scale of the second Y axis. |
Scale |
YScale
scale of the Y axis. |
Fields inherited from class com.java4less.rchart.ChartComponent |
height, width, x, y |
Constructor Summary | |
Plotter()
|
Method Summary | |
void |
addSerie(DataSerie s)
add a serie of values to be plotted. |
boolean |
getCombinable()
can this type of plotter be combined with others |
int |
getNeedsAxis()
number of axis required (1 for X, 2 for X and Y) |
DataSerie |
getSerie(int p)
get serie |
int |
getSeriesCount()
get number of series in plotter |
void |
plot(java.awt.Graphics g)
plots the series. |
void |
plotBackground(java.awt.Graphics g,
int bw,
int bh,
int offsetX,
int offsetY)
draws the background (internal use). |
void |
replaceSerie(int p,
DataSerie s)
replace a serie of values to be plotted. |
void |
setSerie(int p,
DataSerie s)
set serie. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Scale XScale
public Scale YScale
public Scale Y2Scale
public FillStyle back
public java.awt.Image backImage
public int visibleWidth
public int visibleHeight
public int depth
Constructor Detail |
public Plotter()
Method Detail |
public int getNeedsAxis()
public boolean getCombinable()
public void plotBackground(java.awt.Graphics g, int bw, int bh, int offsetX, int offsetY)
public void plot(java.awt.Graphics g)
public int getSeriesCount()
public DataSerie getSerie(int p)
public void setSerie(int p, DataSerie s)
public void addSerie(DataSerie s)
public void replaceSerie(int p, DataSerie s)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |