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