public interface TooltipPositioner
| Modifier and Type | Method and Description | 
|---|---|
| Point | computePosition(IsChart chart,
               List<DatasetItem> items,
               Point eventPoint)Applies own logic to returns the point where the tooltip must be showed. | 
| CustomTooltipPosition | getName()Returns the name of tooltip position which must be used in chart options. | 
| static boolean | isValid(TooltipPositioner tooltipPositioner)Returns  trueif tooltip positioner passed as argument is notnulland its name is notnullas well. | 
static boolean isValid(TooltipPositioner tooltipPositioner)
true if tooltip positioner passed as argument is not null and its name is not
 null as well.tooltipPositioner - tooltip positioner to be checkedtrue if tooltip positioner passed as argument is not null and its name is not
         nullCustomTooltipPosition getName()
Tooltips.setPosition(org.pepstock.charba.client.enums.IsTooltipPosition)Point computePosition(IsChart chart, List<DatasetItem> items, Point eventPoint)
chart - chart instanceitems - list of dataset itemseventPoint - the point of event when the method has been invokednull, the default tooltip positioner will be used to
         provide a consistent point where tooltip will be showed