net.comrom.chart
Class LineDataSerie
java.lang.Object
net.comrom.chart.DataSerie
net.comrom.chart.LineDataSerie
- Direct Known Subclasses:
- MaxMinDataSerie
- public class LineDataSerie
- extends DataSerie
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,GraphicsProvider.getColor(ChartColor.BLUE),LineStyle.LINE_DOTS));
data1.drawPoint=true;
data1.icon=im1; // assignes image for the point
LineDataSerie data2= new LineDataSerie(d2,new LineStyle(0.2f,GraphicsProvider.getColor(ChartColor.GREEN),LineStyle.LINE_DOTS));
data2.drawPoint=true;
data2.icon=im2; // assignes an image for the point
| Fields inherited from class net.comrom.chart.DataSerie |
dataLabels, hotAreas, htmlLinks, labelTemplate, name, nullValue, secondaryXAxis, secondaryYAxis, secondYAxis, tips, valueFormat |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
style
public LineStyle style
vstyle
public LineStyle vstyle
icon
public ChartImage icon
valueColor
public ChartColor valueColor
valueFont
public ChartFont valueFont
drawPoint
public boolean drawPoint
pointColor
public ChartColor pointColor
fillStyle
public FillStyle fillStyle
startingXValue
public static int startingXValue
lineType
public int lineType
LineDataSerie
public LineDataSerie(LineStyle s)
LineDataSerie
public LineDataSerie(double[] x,
double[] y,
LineStyle s)
LineDataSerie
public LineDataSerie(java.lang.Double[] x,
java.lang.Double[] y,
LineStyle s)
LineDataSerie
public LineDataSerie(java.lang.Double[] y,
LineStyle s)
LineDataSerie
public LineDataSerie(double[] y,
LineStyle s)