1N/A#custom-doc { width: 95%; min-width: 950px; }
1N/A#mygraphiccontainer {
1N/AThis example shows how to use the `Graphics` to create a basic shape.
1N/A<div class="example">
1N/A{{>graphics-simple-source}}
1N/A<div id="mygraphiccontainer"></div>
1N/A#mygraphiccontainer {
1N/A<p>Create a `Graphic` instance</p>
1N/A var mygraphic = new
Y.Graphic({render:"#mygraphiccontainer"});
1N/A<p>Use the `addShape` method to create an ellipse.</p>
1N/A<h2>Complete Example Source</h2>
1N/A{{>graphics-simple-source}}