Attaches a function as the handler of the specified event(s).
This method expects the function to be a real function object, not a text string. The function will be called as if it is a method of the JsChartViewer object, which means the "this" pointer inside the function represents the JsChartViewer object that calls the function.
An handler id representing the attachment of the handler to the event, or an array of handler ids representing the attachment of the handler to the events. The id or array of ids can be used in
JsChartViewer.detachHandler to detach the handler.
© 2021 Advanced Software Engineering Limited. All rights reserved.