Required library edition:
Required library file: dhtmlxchart.js
adds any user-defined handler to available events
chart.attachEvent(evName, evHandler);
Several handlers can be attached to the same event, and all of them will be executed.