<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
var stage = acgraph.create('container');
var simpleLayer = stage.layer();
var customStyle = {fontStyle: 'italic', fontSize: '15px', color: '#00f'};
// Creates a text with settings.
var blueText = acgraph.text(200, 50, 'Plain text', customStyle);
blueText.parent(simpleLayer);