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