if(this.setXMax != null) xMax = this.setXMax;
        else xMax = (this.xData ? TSUtils.max(this.xData) : 1);