|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.java4less.rchart.DataSerie | +--com.java4less.rchart.LineDataSerie
A LineDataSerie is a DataSerie that must be plotted using lines.
double[] d1={1,2,3,4,5,4,2};
double[] d2={2,3,4,6,6.4,4.5,6.1};
LineDataSerie data1= new LineDataSerie(d1,new LineStyle(0.2f,java.awt.Color.blue,LineStyle.LINE_DOTS));
data1.drawPoint=true;
data1.icon=im1; // assignes image for the point
LineDataSerie data2= new LineDataSerie(d2,new LineStyle(0.2f,java.awt.Color.green,LineStyle.LINE_DOTS));
data2.drawPoint=true;
data2.icon=im2; // assignes image for the point
Field Summary | |
boolean |
drawPoint
if true a point will be displayed for each vakue of the serie. |
FillStyle |
fillStyle
fill style used for area charts. |
java.awt.Image |
icon
image used to draw the point of the serie. |
int |
lineType
select line type. |
java.awt.Color |
pointColor
color of the point |
LineStyle |
style
style of the line for this serie. |
java.awt.Color |
valueColor
color used to draw the values of the serie. |
java.awt.Font |
valueFont
font used to draw the values of the serie. |
LineStyle |
vstyle
style of the vertical line from the point to the x axis, |
Fields inherited from class com.java4less.rchart.DataSerie |
dataLabels, hotAreas, name, nullValue, secondYAxis, valueFormat |
Constructor Summary | |
LineDataSerie(double[] x,
double[] y,
LineStyle s)
|
|
LineDataSerie(java.lang.Double[] x,
java.lang.Double[] y,
LineStyle s)
|
|
LineDataSerie(double[] y,
LineStyle s)
|
|
LineDataSerie(java.lang.Double[] y,
LineStyle s)
|
|
LineDataSerie(LineStyle s)
|
Methods inherited from class com.java4less.rchart.DataSerie |
addData, doubleToString, getElementX, getElementY, getSize, setDatax |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public LineStyle style
public LineStyle vstyle
public java.awt.Image icon
public java.awt.Color valueColor
public java.awt.Font valueFont
public boolean drawPoint
public java.awt.Color pointColor
public FillStyle fillStyle
public int lineType
Constructor Detail |
public LineDataSerie(LineStyle s)
public LineDataSerie(double[] x, double[] y, LineStyle s)
public LineDataSerie(java.lang.Double[] x, java.lang.Double[] y, LineStyle s)
public LineDataSerie(java.lang.Double[] y, LineStyle s)
public LineDataSerie(double[] y, LineStyle s)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |