public interface TooltipTitleCallback
Modifier and Type | Method and Description |
---|---|
List<String> |
onAfterTitle(IsChart chart,
List<TooltipItem> items)
Returns text to render after the title.
|
List<String> |
onBeforeTitle(IsChart chart,
List<TooltipItem> items)
Returns the text to render before the title.
|
List<String> |
onTitle(IsChart chart,
List<TooltipItem> items)
Returns text to render as the title of the tooltip.
|
List<String> onBeforeTitle(IsChart chart, List<TooltipItem> items)
chart
- chart instanceitems
- list of all tooltip itemsnull
or empty list, it will be ignored.List<String> onTitle(IsChart chart, List<TooltipItem> items)
chart
- chart instanceitems
- list of all tooltip itemsnull
or empty list, it will be ignored.List<String> onAfterTitle(IsChart chart, List<TooltipItem> items)
chart
- chart instanceitems
- list of all tooltip itemsnull
or empty list, it will be ignored.