diff --git a/examples/iso8601.html b/examples/iso8601.html new file mode 100644 index 0000000..4df41f0 --- /dev/null +++ b/examples/iso8601.html @@ -0,0 +1,25 @@ + +
+ + + + + + + + + ++// pulled out data on the last 25 commits using grit +var commit_data = [{"Date Authored":"2012-03-08 15:04:12 -0600","Number of Files":16,"Total Bytes":65572},{"Date Authored":"2012-03-08 14:50:43 -0600","Number of Files":16,"Total Bytes":65477},{"Date Authored":"2012-03-08 14:03:45 -0600","Number of Files":16,"Total Bytes":65050},{"Date Authored":"2012-03-07 15:35:25 -0600","Number of Files":15,"Total Bytes":62472},{"Date Authored":"2012-03-06 16:21:36 -0600","Number of Files":6,"Total Bytes":46401},{"Date Authored":"2012-03-06 16:13:18 -0600","Number of Files":6,"Total Bytes":46451},{"Date Authored":"2012-03-06 16:06:40 -0600","Number of Files":6,"Total Bytes":46218},{"Date Authored":"2012-03-06 16:05:00 -0600","Number of Files":6,"Total Bytes":45804},{"Date Authored":"2012-03-06 15:38:01 -0600","Number of Files":6,"Total Bytes":45602},{"Date Authored":"2012-03-04 16:31:26 -0600","Number of Files":6,"Total Bytes":45222},{"Date Authored":"2012-03-04 17:03:56 -0600","Number of Files":6,"Total Bytes":45468},{"Date Authored":"2012-03-04 15:43:54 -0600","Number of Files":6,"Total Bytes":44063},{"Date Authored":"2012-03-04 15:41:54 -0600","Number of Files":6,"Total Bytes":44024},{"Date Authored":"2012-03-04 11:03:11 -0600","Number of Files":6,"Total Bytes":44024},{"Date Authored":"2012-03-04 11:01:09 -0600","Number of Files":6,"Total Bytes":44034},{"Date Authored":"2012-03-04 10:11:48 -0600","Number of Files":6,"Total Bytes":43900},{"Date Authored":"2012-03-04 07:36:44 -0600","Number of Files":6,"Total Bytes":40658},{"Date Authored":"2012-03-01 02:06:38 -0600","Number of Files":6,"Total Bytes":40533},{"Date Authored":"2012-02-29 22:20:37 -0600","Number of Files":6,"Total Bytes":41183},{"Date Authored":"2012-02-29 15:10:48 -0600","Number of Files":6,"Total Bytes":40492},{"Date Authored":"2012-02-29 14:53:53 -0600","Number of Files":6,"Total Bytes":40374},{"Date Authored":"2012-02-29 02:10:48 -0600","Number of Files":6,"Total Bytes":39956},{"Date Authored":"2012-02-28 16:29:33 -0600","Number of Files":6,"Total Bytes":39646},{"Date Authored":"2012-02-28 16:00:08 -0600","Number of Files":6,"Total Bytes":39480},{"Date Authored":"2012-02-28 15:27:33 -0600","Number of Files":6,"Total Bytes":39237}] +Morris.Line({ + element: 'graph', + data: commit_data, + xkey: 'Date Authored', + ykeys: ['Total Bytes'], + labels: ['Total Bytes'] +}); ++