This example shows how to use the `Graphics` to create a basic shape.

{{>graphics-simple-source}}

HTML

```
```

CSS

``` #mygraphiccontainer { position: relative; width: 700px; height:400px; } ```

Javascript

Create a `Graphic` instance

``` var mygraphic = new Y.Graphic({render:"#mygraphiccontainer"}); ```

Use the `addShape` method to create an ellipse.

``` var myellipse = mygraphic.addShape({ type: "ellipse", fill: { color: "#9aa" }, stroke: { weight: 2, color: "#000" } }); ```

Complete Example Source

``` {{>graphics-simple-source}} ```