Commits

Anonymous committed b04bbaf

Fixed bug with defaultAxisStart where null option overrode default value of 1.

Comments (0)

Files changed (1)

src/jqplot.core.js

             if (this.options.captureRightClick) {
                 this.captureRightClick = this.options.captureRightClick;
             }
-            this.defaultAxisStart = options.defaultAxisStart;
+            this.defaultAxisStart = (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);