if (!isMaxSet) {
                    this.options.max = Math.max.apply(Math, this.options.ticks);
                }