Class Interaction

    • Method Detail

      • setMode

        public void setMode​(DefaultInteractionMode mode)
        Sets which the mode to engaged annotations on events.
        Parameters:
        mode - which the mode to engaged annotations on events.
      • setAxis

        public void setAxis​(InteractionAxis axis)
        Sets which directions are used in calculating distances.
        Parameters:
        axis - define which directions are used in calculating distances.
      • setIntersect

        public void setIntersect​(boolean intersect)
        if true, the only applies when the mouse position intersects an annotation.
        Parameters:
        intersect - if true, the mode only applies when the mouse position intersects an annotation.
      • isIntersect

        public boolean isIntersect()
        if true, the mode only applies when the mouse position intersects an item on the chart.
        Specified by:
        isIntersect in interface IsDefaultsAnnotationInteraction
        Returns:
        if true, the mode only applies when the mouse position intersects an item on the chart.