EventsManager interface

warning: when using a selection feature the of the callback will be invoked with the selected dimension field always as a string

Hierarchy

  • IEventsManager

Index

Properties

Methods

Properties

OnError

OnError: TVoidFunction<IError> | undefined

Global error handler

Methods

subscribe

  • Subscribes a callback to a specific TrueChart event

    Parameters

    • eventType: TEventsType

      Type of event

    • callback: TVoidFunction<any>

      Callback function to be triggered when the event occurs

    Returns void

trigger

  • Triggers an internal trueChart action

    Parameters

    • action: TTriggerAction

      Type of action to be triggered

    • Rest ...parameter: any[]

      Parameter(s) depending on the action

    Returns void