0N/A#custom-doc { width: 95%; min-width: 950px; }
292N/AThis example shows how to use the `Graphics` to create a basic shape.
0N/A<div class="example">
0N/A{{>graphics-simple-source}}
292N/A<div id="mygraphiccontainer"></div>
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>
376N/A<h2>Complete Example Source</h2>
0N/A{{>graphics-simple-source}}