public abstract class AbstractTooltipLabelCallback extends Object implements TooltipLabelCallback
Constructor and Description |
---|
AbstractTooltipLabelCallback() |
Modifier and Type | Method and Description |
---|---|
String |
onAfterLabel(IsChart chart,
TooltipItem item)
Returns text to render after an individual label.
If returns null , it will be ignored. |
String |
onBeforeLabel(IsChart chart,
TooltipItem item)
Returns text to render before an individual label.
This will be called for each item in the tooltip. If returns null , it will be ignored. |
String |
onLabel(IsChart chart,
TooltipItem item)
Returns text to render for an individual item in the tooltip.
If returns null , it will be ignored. |
TooltipLabelColor |
onLabelColor(IsChart chart,
TooltipItem item)
Returns the colors and borders to render for the tooltip item.
If returns null , it will be ignored. |
IsColor |
onLabelTextColor(IsChart chart,
TooltipItem item)
Returns the colors for the text of the label for the tooltip item.
If returns null , it will be ignored. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onLabelPointStyle
public String onBeforeLabel(IsChart chart, TooltipItem item)
TooltipLabelCallback
null
, it will be ignored.onBeforeLabel
in interface TooltipLabelCallback
chart
- chart instanceitem
- tooltip itempublic String onLabel(IsChart chart, TooltipItem item)
TooltipLabelCallback
null
, it will be ignored.onLabel
in interface TooltipLabelCallback
chart
- chart instanceitem
- tooltip itempublic TooltipLabelColor onLabelColor(IsChart chart, TooltipItem item)
TooltipLabelCallback
null
, it will be ignored.onLabelColor
in interface TooltipLabelCallback
chart
- chart instanceitem
- tooltip itempublic IsColor onLabelTextColor(IsChart chart, TooltipItem item)
TooltipLabelCallback
null
, it will be ignored.onLabelTextColor
in interface TooltipLabelCallback
chart
- chart instanceitem
- tooltip itempublic String onAfterLabel(IsChart chart, TooltipItem item)
TooltipLabelCallback
null
, it will be ignored.onAfterLabel
in interface TooltipLabelCallback
chart
- chart instanceitem
- tooltip item