Commits

Anonymous committed 700fb40

Initialize series arrays on init

  • Participants
  • Parent commits 30068ad
  • Branches objectReuse

Comments (0)

Files changed (1)

File src/jqplot.core.js

         // sets the plot target, checks data and applies user
         // options to plot.
         this.init = function(target, data, options) {
+            this.series = [];
+            this.seriesStack = [];
+            this.previousSeriesStack = [];
             for (var i=0; i<$.jqplot.preInitHooks.length; i++) {
                 $.jqplot.preInitHooks[i].call(this, target, data, options);
             }