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.