public interface TooltipBodyCallback
| Modifier and Type | Method and Description |
|---|---|
default List<String> |
onAfterBody(IsChart chart,
List<TooltipItem> items)
Returns text to render after the body section.
If returns null or empty list, it will be ignored. |
default List<String> |
onBeforeBody(IsChart chart,
List<TooltipItem> items)
Returns text to render before the body section.
If returns null or empty list, it will be ignored. |
default List<String> onBeforeBody(IsChart chart, List<TooltipItem> items)
null or empty list, it will be ignored.chart - chart instanceitems - list of all tooltip itemsdefault List<String> onAfterBody(IsChart chart, List<TooltipItem> items)
null or empty list, it will be ignored.chart - chart instanceitems - list of all tooltips items