Issue #132 resolved

jqplotSeriesPointChange not triggered correctly

Anonymous created an issue

In jqplot_dragable.js, function handleMove(), line 122

            dc._elem.trigger('jqplotSeriesPointChange', [dp.seriesIndex,

dp.pointIndex, [xu,yu], [x,y]]);

the event is being triggered on the drag canvas instead of the event canvas. If I change that line to

        ev.data.plot.eventCanvas._elem.trigger

('jqplotSeriesPointChange', [dp.seriesIndex, dp.pointIndex, [xu,yu], [x,y]]);

then the handler I've registered is invoked as expected.

http://groups.google.com/group/jqplot-users/browse_thread/thread/fd2b8aa65c9161f5

Comments (3)

  1. Anonymous

    Hi Chris, This is still not working for me. Could you please add the unit test you used to test this? Perhaps to examples/trendlineDragableCustomization.html, or to a new example page demonstrating event hooks. Regards, Günther .

  2. Log in to comment