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.
|
int |
getX()
Returns the X location of tooltip item.
|
String |
getXLabel()
Returns the X location of label.
|
int |
getY()
Returns the Y location of tooltip item.
|
String |
getYLabel()
Returns the Y location of label.
|
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, type
public TooltipItem(NativeObject nativeObject)
nativeObject
- native java script object which contains all properties.public String getXLabel()
UndefinedValues.STRING
.public String getYLabel()
UndefinedValues.STRING
.public int getDatasetIndex()
UndefinedValues.INTEGER
.public int getIndex()
UndefinedValues.INTEGER
.public int getX()
UndefinedValues.INTEGER
.public int getY()
UndefinedValues.INTEGER
.