public class ChartSeries
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList |
dataset |
private SeriesDisplayType |
displayType |
private java.lang.String |
label |
private java.text.SimpleDateFormat |
simpleDateFormat |
private SeriesType |
type |
| Constructor and Description |
|---|
ChartSeries(SeriesType type)
Constructor that requires definition of the data type being put into the chart series
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(java.util.Date point) |
void |
addPoint(java.lang.Float point) |
void |
addPoint(java.lang.Integer point) |
void |
addPoint(java.lang.String point) |
java.util.ArrayList |
getDataset() |
java.text.SimpleDateFormat |
getDateFormat() |
SeriesDisplayType |
getDisplayType() |
java.lang.String |
getLabel() |
SeriesType |
getType() |
void |
setDateFormat(java.lang.String format) |
void |
setDisplayType(SeriesDisplayType displayType) |
void |
setLabel(java.lang.String label) |
private java.lang.String label
private SeriesType type
private SeriesDisplayType displayType
private java.text.SimpleDateFormat simpleDateFormat
private java.util.ArrayList dataset
public ChartSeries(SeriesType type)
type - a SeriesType representative of the data type of the seriespublic java.lang.String getLabel()
public void setLabel(java.lang.String label)
public java.util.ArrayList getDataset()
public void addPoint(java.lang.Integer point)
public void addPoint(java.lang.String point)
public void addPoint(java.util.Date point)
public void addPoint(java.lang.Float point)
public SeriesType getType()
public java.text.SimpleDateFormat getDateFormat()
public void setDateFormat(java.lang.String format)
public SeriesDisplayType getDisplayType()
public void setDisplayType(SeriesDisplayType displayType)