for (var j = 0; j < gs.length; j++) {
if (gs[j] == me) {
if (prevCallbacks[j] && prevCallbacks[j].drawCallback) {
- prevCallbacks[j].drawCallback(me, initial);
+ prevCallbacks[j].drawCallback.apply(this, arguments);
}
continue;
}
for (var i = 0; i < gs.length; i++) {
if (me == gs[i]) {
if (prevCallbacks[i] && prevCallbacks[i].highlightCallback) {
- prevCallbacks[i].highlightCallback(event, x, points, row, seriesName);
+ prevCallbacks[i].highlightCallback.apply(this, arguments);
}
continue;
}
for (var i = 0; i < gs.length; i++) {
if (me == gs[i]) {
if (prevCallbacks[i] && prevCallbacks[i].unhighlightCallback) {
- prevCallbacks[i].unhighlightCallback(event);
+ prevCallbacks[i].unhighlightCallback.apply(this, arguments);
}
continue;
}