public class TooltipItem extends NativeObjectContainer
Modifier and Type | Class and Description |
---|---|
static class |
TooltipItem.TooltipItemFactory
Inner class to create tooltip item by a native object.
|
Modifier and Type | Field and Description |
---|---|
static TooltipItem.TooltipItemFactory |
FACTORY
Public factory to create a tooltip item from a native object.
|
Modifier and Type | Method and Description |
---|---|
IsChart |
getChart()
Returns the CHARBA chart instance.
|
int |
getDataIndex()
Returns the index of the data inside the dataset.
|
DatasetPoint |
getDataPoint()
Returns the parsed data values for the given
getDatasetIndex() and getDataIndex() . |
int |
getDatasetIndex()
Returns the dataset index of the chart
|
DatasetElement |
getElement()
Returns the dataset element (point, arc, bar, etc.) for this tooltip item.
|
String |
getFormattedValue()
Returns the formatted value for the tooltip.
|
String |
getLabel()
Returns the label for the tooltip.
|
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public static final TooltipItem.TooltipItemFactory FACTORY
public final IsChart getChart()
public final String getLabel()
public final DatasetPoint getDataPoint()
getDatasetIndex()
and getDataIndex()
.getDatasetIndex()
and getDataIndex()
public final String getFormattedValue()
public final int getDatasetIndex()
public final int getDataIndex()
public final DatasetElement getElement()