public interface TooltipFooterCallback
Modifier and Type | Method and Description |
---|---|
default 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. |
default 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. |
default 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. |
default List<String> onBeforeFooter(IsChart chart, List<TooltipItem> items)
null
or empty list, it will be ignored.chart
- chart instanceitems
- list of all tooltip itemsdefault List<String> onFooter(IsChart chart, List<TooltipItem> items)
null
or empty list, it will be ignored.chart
- chart instanceitems
- list of all tooltip itemsdefault List<String> onAfterFooter(IsChart chart, List<TooltipItem> items)
null
or empty list, it will be ignored.chart
- chart instanceitems
- list of all tooltip items