|
||||||||
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 | +--com.java4less.rchart.LinePlotter
This is the plotter used to draw a line chart. It only admits DataSeries of type LineDataSerie.
Example:
com.java4less.rchart.LinePlotter plot=new LinePlotter();
chart.addSerie(data2);
chart.addSerie(data1);
Field Summary | |
boolean |
fixedLimits
clip lines using maximum and minimum values if the scale? |
int |
MaxMinType
Type of the chart (ONLY MAXMIN CHARTS). |
static int |
MM_CANDLESTICK
Candlestick chart |
static int |
MM_NORMAL
normal line chart |
static int |
MM_OHLC
OHLC chart |
int |
pointSize
size of squares that represent points. |
static int |
TYPE_B_SPLINES
b-spline curve. |
static int |
TYPE_CUBIC_NATURAL
curve. |
static int |
TYPE_LEAST_SQUARES_LINE
create a line using the least squares method. |
static int |
TYPE_LINE
normal lines |
Fields inherited from class com.java4less.rchart.Plotter |
back, backImage, depth, visibleHeight, visibleWidth, XScale, Y2Scale, YScale |
Fields inherited from class com.java4less.rchart.ChartComponent |
height, width, x, y |
Constructor Summary | |
LinePlotter()
|
Methods inherited from class com.java4less.rchart.Plotter |
addSerie, getCombinable, getNeedsAxis, getSerie, getSeriesCount, plot, plotBackground, replaceSerie, setSerie |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int TYPE_LINE
public static final int TYPE_CUBIC_NATURAL
public static final int TYPE_B_SPLINES
public static final int TYPE_LEAST_SQUARES_LINE
public static final int MM_NORMAL
public static final int MM_OHLC
public static final int MM_CANDLESTICK
public boolean fixedLimits
public int MaxMinType
public int pointSize
Constructor Detail |
public LinePlotter()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |