public final class TooltipItem extends NativeObjectContainer
Modifier and Type | Class and Description |
---|---|
static class |
TooltipItem.TooltipItemFactory
Inner class to create tooltip item by a native object.
|
Constructor and Description |
---|
TooltipItem(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.
|
String |
getLabel()
Returns the label for the tooltip.
|
String |
getValue()
Returns the value for the tooltip.
|
int |
getX()
Returns the X location of tooltip item.
|
int |
getY()
Returns the Y location of tooltip item.
|
checkValue, empty, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, 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, type
public TooltipItem(NativeObject nativeObject)
nativeObject
- native java script object which contains all properties.public String getLabel()
UndefinedValues.STRING
.public String getValue()
UndefinedValues.STRING
.public int getDatasetIndex()
UndefinedValues.INTEGER
.public int getIndex()
UndefinedValues.INTEGER
.public int getX()
UndefinedValues.INTEGER
.public int getY()
UndefinedValues.INTEGER
.