Class DefaultChartInteraction

    • Constructor Detail

      • DefaultChartInteraction

        public DefaultChartInteraction​(IsDefaultInteraction interaction)
        Creates the object by interaction option element instance.
        Parameters:
        interaction - interaction option element instance.
    • Method Detail

      • isIntersect

        public final boolean isIntersect()
        Description copied from interface: IsDefaultInteraction
        if true, the hover mode only applies when the mouse position intersects an item on the chart.
        Specified by:
        isIntersect in interface IsDefaultInteraction
        Returns:
        if true, the hover mode only applies when the mouse position intersects an item on the chart.
      • getAxis

        public final InteractionAxis getAxis()
        Description copied from interface: IsDefaultInteraction
        Returns to 'x', 'y', or 'xy' to define which directions are used in calculating distances.
        Specified by:
        getAxis in interface IsDefaultInteraction
        Returns:
        define which directions are used in calculating distances.