Class AbstractTooltipFooterCallback
- java.lang.Object
- 
- org.pepstock.charba.client.callbacks.AbstractTooltipFooterCallback
 
- 
- All Implemented Interfaces:
- TooltipFooterCallback
 
 public abstract class AbstractTooltipFooterCallback extends Object implements TooltipFooterCallback Abstract implementation of tooltip footer callback in order to help who will implement it to override ONLY needed methods and use the default for the others.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Constructor SummaryConstructors Constructor Description AbstractTooltipFooterCallback()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>onAfterFooter(IsChart chart, List<TooltipItem> items)Text to render after the footer section.
 If returnsnullor empty list, it will be ignored.List<String>onBeforeFooter(IsChart chart, List<TooltipItem> items)Returns text to render before the footer section.
 If returnsnullor 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 returnsnullor empty list, it will be ignored.
 
- 
- 
- 
Method Detail- 
onBeforeFooterpublic List<String> onBeforeFooter(IsChart chart, List<TooltipItem> items) Description copied from interface:TooltipFooterCallbackReturns text to render before the footer section.
 If returnsnullor empty list, it will be ignored.- Specified by:
- onBeforeFooterin interface- TooltipFooterCallback
- Parameters:
- chart- chart instance
- items- list of all tooltip items
- Returns:
- a list of labels to apply to the title.
 
 - 
onFooterpublic List<String> onFooter(IsChart chart, List<TooltipItem> items) Description copied from interface:TooltipFooterCallbackReturns text to render as the footer of the tooltip.
 If returnsnullor empty list, it will be ignored.- Specified by:
- onFooterin interface- TooltipFooterCallback
- Parameters:
- chart- chart instance
- items- list of all tooltip items
- Returns:
- a list of labels to apply to the title.
 
 - 
onAfterFooterpublic List<String> onAfterFooter(IsChart chart, List<TooltipItem> items) Description copied from interface:TooltipFooterCallbackText to render after the footer section.
 If returnsnullor empty list, it will be ignored.- Specified by:
- onAfterFooterin interface- TooltipFooterCallback
- Parameters:
- chart- chart instance
- items- list of all tooltip items
- Returns:
- a list of labels to apply to the title.
 
 
- 
 
-