<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
var stage = acgraph.create('container');
var simpleText = stage.text(0, 0, 'Simple text');
// Sets height.
simpleText.height(75);
stage.rect(0, 0, 100, simpleText.height());