public class DefaultInteraction extends Object implements IsDefaultInteraction
Modifier and Type | Method and Description |
---|---|
InteractionAxis |
getAxis()
Returns to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
|
InteractionMode |
getMode()
Returns which elements appear in the tooltip.
|
boolean |
isIntersect()
if true, the hover mode only applies when the mouse position intersects an item on the chart.
|
public InteractionMode getMode()
IsDefaultInteraction
getMode
in interface IsDefaultInteraction
public boolean isIntersect()
IsDefaultInteraction
isIntersect
in interface IsDefaultInteraction
public InteractionAxis getAxis()
IsDefaultInteraction
getAxis
in interface IsDefaultInteraction