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