public final class DefaultChartHover extends Object implements IsDefaultHover
Modifier and Type | Method and Description |
---|---|
int |
getAnimationDuration()
Returns the duration in milliseconds it takes to animate hover style changes.
|
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()
IsDefaultHover
getMode
in interface IsDefaultHover
public boolean isIntersect()
IsDefaultHover
isIntersect
in interface IsDefaultHover
public int getAnimationDuration()
IsDefaultHover
getAnimationDuration
in interface IsDefaultHover
public InteractionAxis getAxis()
IsDefaultHover
getAxis
in interface IsDefaultHover