Interface IsDefaultInteraction
-
- All Known Implementing Classes:
DefaultChartHover
,DefaultChartInteraction
,DefaultHover
,DefaultInteraction
,Hover
,Interaction
,InteractionItem
public interface IsDefaultInteraction
Interface to define interaction object defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InteractionItem
create()
Creates anInteractionItem
using the configuration defined in this interaction.InteractionAxis
getAxis()
Returns which directions are used in calculating distances.InteractionMode
getMode()
Returns which elements appear in the tooltip.boolean
isIncludeInvisible()
If true, the invisible points that are outside of the chart area will also be included when evaluating interactions.boolean
isIntersect()
If true, the hover mode only applies when the mouse position intersects an item on the chart.
-
-
-
Method Detail
-
getMode
InteractionMode getMode()
Returns which elements appear in the tooltip.- Returns:
- which elements appear in the tooltip.
-
isIntersect
boolean isIntersect()
If true, the hover mode only applies when the mouse position intersects an item on the chart.- Returns:
- if true, the hover mode only applies when the mouse position intersects an item on the chart.
-
getAxis
InteractionAxis getAxis()
Returns which directions are used in calculating distances.- Returns:
- define which directions are used in calculating distances.
-
isIncludeInvisible
boolean isIncludeInvisible()
If true, the invisible points that are outside of the chart area will also be included when evaluating interactions.- Returns:
- if true, the invisible points that are outside of the chart area will also be included when evaluating interactions.
-
create
default InteractionItem create()
Creates anInteractionItem
using the configuration defined in this interaction.- Returns:
- an
InteractionItem
using the configuration defined in this interaction
-
-