Class DefaultInteraction
- java.lang.Object
- 
- org.pepstock.charba.client.defaults.globals.DefaultInteraction
 
- 
- All Implemented Interfaces:
- IsDefaultInteraction
 - Direct Known Subclasses:
- DefaultHover
 
 public class DefaultInteraction extends Object implements IsDefaultInteraction CHART.JS default values for INTERACTION element.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description InteractionAxisgetAxis()Returns to 'x', 'y', or 'xy' to define which directions are used in calculating distances.InteractionModegetMode()Returns which elements appear in the tooltip.booleanisIntersect()if true, the hover mode only applies when the mouse position intersects an item on the chart.
 
- 
- 
- 
Method Detail- 
getModepublic InteractionMode getMode() Description copied from interface:IsDefaultInteractionReturns which elements appear in the tooltip.- Specified by:
- getModein interface- IsDefaultInteraction
- Returns:
- which elements appear in the tooltip.
 
 - 
isIntersectpublic boolean isIntersect() Description copied from interface:IsDefaultInteractionif true, the hover mode only applies when the mouse position intersects an item on the chart.- Specified by:
- isIntersectin interface- IsDefaultInteraction
- Returns:
- if true, the hover mode only applies when the mouse position intersects an item on the chart.
 
 - 
getAxispublic InteractionAxis getAxis() Description copied from interface:IsDefaultInteractionReturns to 'x', 'y', or 'xy' to define which directions are used in calculating distances.- Specified by:
- getAxisin interface- IsDefaultInteraction
- Returns:
- define which directions are used in calculating distances.
 
 
- 
 
-