|
|
@ -368,7 +368,7 @@ ItemSet.prototype.show = function() { |
|
|
|
|
|
|
|
// show axis with dots
|
|
|
|
if (!this.dom.axis.parentNode) { |
|
|
|
this.body.dom.top.appendChild(this.dom.axis); |
|
|
|
this.body.dom.backgroundVertical.appendChild(this.dom.axis); |
|
|
|
} |
|
|
|
|
|
|
|
// show labelset containing labels
|
|
|
@ -524,7 +524,12 @@ ItemSet.prototype.redraw = function() { |
|
|
|
this.props.height = height; |
|
|
|
|
|
|
|
// reposition axis
|
|
|
|
this.dom.axis.style.height = this.body.domProps.background.height + 'px'; |
|
|
|
|
|
|
|
// reposition axis
|
|
|
|
this.dom.axis.style.top = asSize((orientation == 'top') ? |
|
|
|
(this.body.domProps.top.height + this.body.domProps.border.top) : |
|
|
|
(this.body.domProps.top.height + this.body.domProps.centerContainer.height)); |
|
|
|
this.dom.axis.style.left = '0'; |
|
|
|
|
|
|
|
// check if this component is resized
|
|
|
|
resized = this._isResized() || resized; |
|
|
|