<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
var stage = acgraph.create('container');
stage.title('Green rectangle');
var rectangle = stage.rect(50, 50, 150, 75);
rectangle.fill('#90CAF9');
// Get title text from node of the stage.
var titleText = stage.title();
stage.text(65, 75, titleText, {fontSize: '15px'});