public abstract class AbstractTooltipBodyCallback extends Object implements TooltipBodyCallback
Constructor and Description |
---|
AbstractTooltipBodyCallback() |
Modifier and Type | Method and Description |
---|---|
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. |
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. |
public List<String> onBeforeBody(IsChart chart, List<TooltipItem> items)
TooltipBodyCallback
null
or empty list, it will be ignored.onBeforeBody
in interface TooltipBodyCallback
chart
- chart instanceitems
- list of all tooltip itemspublic List<String> onAfterBody(IsChart chart, List<TooltipItem> items)
TooltipBodyCallback
null
or empty list, it will be ignored.onAfterBody
in interface TooltipBodyCallback
chart
- chart instanceitems
- list of all tooltips items