shutterstock/rickshaw — pull request #34 by andreascreten (2012-04-17 10:58:41+00:00)
Title: Added the updateSize() and update functions() (fixes #20)

The `updateSize` function makes it possible to dynamically change the size
of the graph and Y axis. The `update` function can be used to redraw the graph and update
it's size according to the new size of the container.

I needed this to redraw the graphs on window resize. That's now as easy as this:

```js
jQuery(window).on('resize', function() {
graph.update();
});
```

You can also define the width and the height of the graph manually:

```js
graph.update({
width: 100,
height: 100
});
```