public interface TooltipTitleCallback
Modifier and Type | Method and Description |
---|---|
default 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. |
default 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. |
default 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. |
default List<String> onBeforeTitle(IsChart chart, List<TooltipItem> items)
null
or empty list, it will be ignored.chart
- chart instanceitems
- list of all tooltip itemsdefault List<String> onTitle(IsChart chart, List<TooltipItem> items)
null
or empty list, it will be ignored.chart
- chart instanceitems
- list of all tooltip itemsdefault List<String> onAfterTitle(IsChart chart, List<TooltipItem> items)
null
or empty list, it will be ignored.chart
- chart instanceitems
- list of all tooltip items