Commits

Anonymous committed 700fb40

Initialize series arrays on init

Comments (0)

Files changed (1)

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);
             }