genthaler
unread,Nov 25, 2009, 5:14:18 PM11/25/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jqplot-users
Hi,
I'm can trigger a jqplotClick event like so;
function myClickHandler(ev, gridpos, datapos, neighbor, plot) {
alert('hello');
}
$.jqplot.eventListenerHooks.push(['jqplotClick', myClickHandler]);
plot1 = $.jqplot('test',[s1],{...})
but no luck with
function myClickHandler(ev, seriesIndex, pointIndex, pu, p) {
alert('hello');
}
$.jqplot.eventListenerHooks.push(['jqplotSeriesPointChange',
myClickHandler]);
plot1 = $.jqplot('test',[s1],{...})
I've tried firebugging, but I get lost in jQuery/jqplot's internals.
Anyone have a working example?
Thanks,
Günther