Interface ExtendedInteraction


  • @JsFunction
    public interface ExtendedInteraction
    This class can be used when a custom interaction mode is already available and implemented in java script (for instance, controllers or plugins which added a specific interaction mode).
    Java script FUNCTION callback called to invoke a custom interactioner.
    Author:
    Andrea "Stock" Stocchero
    • Method Detail

      • call

        ArrayObject call​(Chart chart,
                         NativeObject event,
                         NativeObject options,
                         boolean useFinalPosition)
        Method of function to be called to invoke a custom interaction mode.
        Parameters:
        chart - the chart we are returning items from
        event - the event we are find things at
        options - options to use
        useFinalPosition - use final element position (animation target)
        Returns:
        items that are found