Global error handler
Subscribes a callback to a specific TrueChart event
Type of event
Callback function to be triggered when the event occurs
Triggers an internal trueChart action
Type of action to be triggered
Parameter(s) depending on the action
EventsManager interface
warning: when using a selection feature the of the callback will be invoked with the selected dimension field always as a string