INVALID ARGUMENT ON IE8, ether-painters.js, Line 569

40 views
Skip to first unread message

Bryan Andrés Echegoyen Rozas

unread,
May 8, 2012, 4:25:36 PM5/8/12
to simile-...@googlegroups.com
   This is the lines around the error line.

   this.position = function(startDate, endDate) {
        this._createHighlightDiv();
        
        var startPixel = Math.round(band.dateToPixelOffset(startDate));
        var endPixel = Math.round(band.dateToPixelOffset(endDate));
        var length = Math.max(endPixel - startPixel, 3);
        if (horizontal) {
            this._highlightDiv.style.left = startPixel + "px";
            this._highlightDiv.style.width = length + "px";           
            this._highlightDiv.style.height = (band.getViewWidth() - 4) + "px";
        } else {
            this._highlightDiv.style.top = startPixel + "px";
            this._highlightDiv.style.height = length + "px";
            this._highlightDiv.style.width = (band.getViewWidth() - 4) + "px";
        }
    }


it works at IE9, google chrome  and firefox... please help.

Ryan Lee

unread,
Jul 18, 2012, 5:39:17 PM7/18/12
to simile-...@googlegroups.com
Hello,

An error message is only partly helpful; it would be much more useful to
see the whole picture including your actual Timeline and data in order
to assist you. We already have the code; it's the context in which
you're using it that's needed.
Reply all
Reply to author
Forward
0 new messages