|
|
@ -191,7 +191,7 @@ LineGraph.prototype.setOptions = function(options) { |
|
|
|
this.autoSizeSVG = true; |
|
|
|
} |
|
|
|
else if (this.body.domProps.centerContainer.height !== undefined && options.graphHeight !== undefined) { |
|
|
|
if (parseInt(options.graphHeight.replace("px",'')) < this.body.domProps.centerContainer.height) { |
|
|
|
if (parseInt((options.graphHeight + '').replace("px",'')) < this.body.domProps.centerContainer.height) { |
|
|
|
this.autoSizeSVG = true; |
|
|
|
} |
|
|
|
} |
|
|
|