Added code and options to animate the initial drawing of the graph

Options added:
 - animate (boolean) - flag on whether to animate or not
 - duration (number) - duration of the animation
 - easing (string) - one of Raphael's supported easing options

 Methods changed:
 - drawSeries - added animation code

Method added:
 - seriesAverage - caculates the average y value for a set of coords

 NB minified js not modified
This commit is contained in:
Dave Tonge 2012-05-25 09:04:11 +01:00
parent aa67b1a305
commit a1218b68bb
2 changed files with 1319 additions and 1244 deletions

File diff suppressed because it is too large Load Diff

1399
morris.js

File diff suppressed because it is too large Load Diff