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