|
@ -385,7 +385,7 @@ TimeAxis.prototype._calculateCharSize = function () { |
|
|
// determine the char width and height on the major axis
|
|
|
// determine the char width and height on the major axis
|
|
|
if (!this.dom.measureCharMajor) { |
|
|
if (!this.dom.measureCharMajor) { |
|
|
this.dom.measureCharMajor = document.createElement('DIV'); |
|
|
this.dom.measureCharMajor = document.createElement('DIV'); |
|
|
this.dom.measureCharMajor.className = 'text minor measure'; |
|
|
|
|
|
|
|
|
this.dom.measureCharMajor.className = 'text major measure'; |
|
|
this.dom.measureCharMajor.style.position = 'absolute'; |
|
|
this.dom.measureCharMajor.style.position = 'absolute'; |
|
|
|
|
|
|
|
|
this.dom.measureCharMajor.appendChild(document.createTextNode('0')); |
|
|
this.dom.measureCharMajor.appendChild(document.createTextNode('0')); |
|
|