public abstract class AbstractTooltipTitleCallback extends Object implements TooltipTitleCallback
Constructor and Description |
---|
AbstractTooltipTitleCallback() |
Modifier and Type | Method and Description |
---|---|
List<String> |
onAfterTitle(IsChart chart,
List<TooltipItem> items)
Returns text to render after the title.
If returns null or empty list, it will be ignored. |
List<String> |
onBeforeTitle(IsChart chart,
List<TooltipItem> items)
Returns the text to render before the title.
If returns null or empty list, it will be ignored. |
List<String> |
onTitle(IsChart chart,
List<TooltipItem> items)
Returns text to render as the title of the tooltip.
If returns null or empty list, it will be ignored. |
public List<String> onBeforeTitle(IsChart chart, List<TooltipItem> items)
TooltipTitleCallback
null
or empty list, it will be ignored.onBeforeTitle
in interface TooltipTitleCallback
chart
- chart instanceitems
- list of all tooltip itemspublic List<String> onTitle(IsChart chart, List<TooltipItem> items)
TooltipTitleCallback
null
or empty list, it will be ignored.onTitle
in interface TooltipTitleCallback
chart
- chart instanceitems
- list of all tooltip itemspublic List<String> onAfterTitle(IsChart chart, List<TooltipItem> items)
TooltipTitleCallback
null
or empty list, it will be ignored.onAfterTitle
in interface TooltipTitleCallback
chart
- chart instanceitems
- list of all tooltip items