Commits

Anonymous committed 323e0f0

Fixed bug in parse options when options are null.

Comments (0)

Files changed (1)

src/jqplot.core.js

             if (this.options.captureRightClick) {
                 this.captureRightClick = this.options.captureRightClick;
             }
-            this.defaultAxisStart = (options.defaultAxisStart != null) ? options.defaultAxisStart : this.defaultAxisStart;
+            this.defaultAxisStart = (options && options.defaultAxisStart != null) ? options.defaultAxisStart : this.defaultAxisStart;
             var cg = new this.colorGenerator(this.seriesColors);
             // this._gridPadding = this.options.gridPadding;
             $.extend(true, this._gridPadding, this.options.gridPadding);