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