public final class Data extends JavaScriptObjectContainer
JavaScriptObjectContainer| Constructor and Description |
|---|
Data() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Dataset> |
getDatasets()
Returns the list of datasets
|
Labels |
getLabels()
Returns the labels
|
java.lang.Object |
getObject() |
Labels |
getXLabels()
Returns the labels for X axes
|
Labels |
getYLabels()
Returns the labels for Y axes
|
void |
setDatasets(Dataset... datasets)
Sets a set of datasets for chart
|
void |
setLabels(Labels labels)
Sets the labels of the data
|
void |
setLabels(java.lang.String... labels)
Sets the labels of the data
|
void |
setXLabels(Labels labels)
Sets the labels for X axes of the data
|
void |
setXLabels(java.lang.String... labels)
Sets the labels for X axes of the data
|
void |
setYLabels(Labels labels)
Sets the labels for Y axes of the data
|
void |
setYLabels(java.lang.String... labels)
Sets the labels for Y axes of the data
|
checkAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, typepublic void setLabels(java.lang.String... labels)
labels - array of labelspublic void setLabels(Labels labels)
labels - labels object to manage also multiline labels.Labelspublic void setXLabels(java.lang.String... labels)
labels - array of labelspublic void setXLabels(Labels labels)
labels - labels object to manage also multiline labels.Labelspublic Labels getXLabels()
Labelspublic void setYLabels(java.lang.String... labels)
labels - array of labelspublic void setYLabels(Labels labels)
labels - labels object to manage also multiline labels.Labelspublic Labels getYLabels()
Labelspublic void setDatasets(Dataset... datasets)
datasets - set of datasetDatasetpublic java.util.List<Dataset> getDatasets()
Datasetpublic java.lang.Object getObject()