ChartDirector 6.0 (Ruby Edition)

JsChartViewer.applyHandlers


Usage

applyHandlers(eventId)

Description

Calls the handlers for an event.

This method allows an external object to trigger JsChartViewer events.

Arguments

ArgumentDefaultDescription
eventId(Mandatory)A text string representing the event to trigger. An example is "ViewPortChanged" (for the JsChartViewer.ViewPortChanged event).

Return Value

The return value of the handler function of the event. If there are multiple handler functions for the event, the first return value that is not equivalent to "false" will be used.