1. Chris Leonello
  2. jqplot

Commits

Paul Pritchard  committed 6fc9d53

Fix for #717 - Plot's preDrawHooks not called

  • Participants
  • Parent commits a0315b6
  • Branches default

Comments (0)

Files changed (1)

File src/jqplot.core.js

View file
  • Ignore whitespace
                 for (i=0, l=$.jqplot.preDrawHooks.length; i<l; i++) {
                     $.jqplot.preDrawHooks[i].call(this);
                 }
-                for (i=0, l=this.preDrawHooks.length; i<l; i++) {
+                for (i=0, l=this.preDrawHooks.hooks.length; i<l; i++) {
                     this.preDrawHooks.hooks[i].apply(this, this.preDrawSeriesHooks.args[i]);
                 }
                 // create an underlying canvas to be used for special features.