public class Series
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
color
The color to be used when drawing this series on a chart
|
Image |
dot
An image that will be used in some chars, to be used instead of a circle.
|
int |
dotVAlign
The alignment of the dot image.
|
java.lang.String |
name
This series' name
|
double[] |
xValues
This series' values for the X axis
|
double[] |
yValues
This series' values for the Y axis
|
| Constructor and Description |
|---|
Series(java.lang.String name,
double[] xValues,
double[] yValues,
Image dot)
Creates a new series
|
Series(java.lang.String name,
double[] xValues,
double[] yValues,
int color)
Creates a new series
|
Series(java.lang.String name,
double[] yValues,
int color)
Creates a new category series
|
public java.lang.String name
public double[] xValues
public double[] yValues
public int color
public Image dot
dotVAlignpublic int dotVAlign
public Series(java.lang.String name,
double[] yValues,
int color)
name - the series' nameyValues - the series' values for the Y axis (one for each category)color - the color to be used when drawing the series on a chartpublic Series(java.lang.String name,
double[] xValues,
double[] yValues,
int color)
name - the series' namexValues - the series' values for the X axisyValues - the series' values for the Y axiscolor - the color to be used when drawing the series on a chartpublic Series(java.lang.String name,
double[] xValues,
double[] yValues,
Image dot)
name - the series' namexValues - the series' values for the X axisyValues - the series' values for the Y axisdot - The image to be used instead of a circle.