public class ChartModel.DataPoint extends Object
| Constructor and Description |
|---|
DataPoint() |
| Modifier and Type | Method and Description |
|---|---|
ChartModel.DataPoint |
data(String series,
Object value)
Sets the data value for the given series of this data point.
|
Object |
get(String series)
Returns the data value with the given series for this data point.
|
Object[] |
getAll()
Return the data value with the same order of series.
|
String |
getAsString(String series)
Returns the value of the data point as a string, using the
formatter appropriate for the series.
|
String[] |
getAsStrings()
Returns the row as an array of formatted strings.
|
int |
size()
Returns the size of data point.
|
public ChartModel.DataPoint data(String series, Object value)
series - series namevalue - value to setpublic Object get(String series)
series - series namepublic Object[] getAll()
public int size()
public String getAsString(String series)
series - seriespublic String[] getAsStrings()