public class DatasetItem extends NativeObjectContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
DatasetItem.DatasetItemFactory
Inner class to create dataset item by a native object.
|
| Constructor and Description |
|---|
DatasetItem(NativeObject nativeObject)
Creates the item using a native java script object which contains all properties.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDatasetIndex()
Returns the dataset index of the chart
|
int |
getIndex()
Returns the index of the data inside the dataset.
|
DatasetViewItem |
getView()
Returns all view information about the dataset.
|
boolean |
isHidden()
Returns if the dataset is hidden.
|
void |
setHidden(boolean hidden)
Sets if the dataset must be hidden.
|
checkValue, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic DatasetItem(NativeObject nativeObject)
nativeObject - native java script object which contains all properties.public final int getDatasetIndex()
UndefinedValues.INTEGER.public final int getIndex()
UndefinedValues.INTEGER.public final boolean isHidden()
true if the dataset is hidden, otherwise false. Default is
UndefinedValues.BOOLEAN.public final void setHidden(boolean hidden)
hidden - true if the dataset must be hidden, otherwise false.public final DatasetViewItem getView()