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.
If returns null or empty list, it will be ignored. |
List<String> |
onBeforeFooter(IsChart chart,
List<TooltipItem> items)
Returns text to render before the footer section.
If returns null or empty list, it will be ignored. |
List<String> |
onFooter(IsChart chart,
List<TooltipItem> items)
Returns text to render as the footer of the tooltip.
If returns null or empty list, it will be ignored. |
public List<String> onBeforeFooter(IsChart chart, List<TooltipItem> items)
TooltipFooterCallback
null
or empty list, it will be ignored.onBeforeFooter
in interface TooltipFooterCallback
chart
- chart instanceitems
- list of all tooltip itemspublic List<String> onFooter(IsChart chart, List<TooltipItem> items)
TooltipFooterCallback
null
or empty list, it will be ignored.onFooter
in interface TooltipFooterCallback
chart
- chart instanceitems
- list of all tooltip itemspublic List<String> onAfterFooter(IsChart chart, List<TooltipItem> items)
TooltipFooterCallback
null
or empty list, it will be ignored.onAfterFooter
in interface TooltipFooterCallback
chart
- chart instanceitems
- list of all tooltip items