public interface TooltipBodyCallback
Modifier and Type | Method and Description |
---|---|
String[] |
onAfterBody(AbstractChart<?,?> chart,
List<TooltipItem> items)
Returns text to render after the body section.
|
String[] |
onBeforeBody(AbstractChart<?,?> chart,
List<TooltipItem> items)
Returns text to render before the body section.
|
String[] onBeforeBody(AbstractChart<?,?> chart, List<TooltipItem> items)
chart
- chart instanceitems
- list of all tooltip itemsnull
, it will be ignored.String[] onAfterBody(AbstractChart<?,?> chart, List<TooltipItem> items)
chart
- chart instanceitems
- list of all tooltips itemsnull
, it will be ignored.