public abstract class AbstractTooltipFooterCallback extends Object implements TooltipFooterCallback
Constructor and Description |
---|
AbstractTooltipFooterCallback() |
Modifier and Type | Method and Description |
---|---|
List<String> |
onAfterFooter(IsChart chart,
List<TooltipItem> items)
Text to render after the footer section.
|
List<String> |
onBeforeFooter(IsChart chart,
List<TooltipItem> items)
Returns text to render before the footer section.
|
List<String> |
onFooter(IsChart chart,
List<TooltipItem> items)
Returns text to render as the footer of the tooltip.
|
public List<String> onBeforeFooter(IsChart chart, List<TooltipItem> items)
TooltipFooterCallback
onBeforeFooter
in interface TooltipFooterCallback
chart
- chart instanceitems
- list of all tooltip itemsnull
or empty list, it will be ignored.public List<String> onFooter(IsChart chart, List<TooltipItem> items)
TooltipFooterCallback
onFooter
in interface TooltipFooterCallback
chart
- chart instanceitems
- list of all tooltip itemsnull
or empty list, it will be ignored.public List<String> onAfterFooter(IsChart chart, List<TooltipItem> items)
TooltipFooterCallback
onAfterFooter
in interface TooltipFooterCallback
chart
- chart instanceitems
- list of all tooltip itemsnull
or empty list, it will be ignored.