Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype HTML>
- <meta charset = 'utf-8'>
- <html>
- <head>
- <link rel='stylesheet' href='//cdn.oesmith.co.uk/morris-0.4.2.min.css'>
- <script src='//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js' type='text/javascript'></script>
- <script src='//cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael-min.js' type='text/javascript'></script>
- <script src='//cdn.oesmith.co.uk/morris-0.4.2.min.js' type='text/javascript'></script>
- <style>
- .rChart {
- display: block;
- margin-left: auto;
- margin-right: auto;
- width: 800px;
- height: 400px;
- }
- </style>
- </head>
- <body >
- <div id = 'chart14a4038c173' class = 'rChart morris'></div>
- <script type='text/javascript'>
- var chartParams = {
- "element": "chart14a4038c173",
- "width": 800,
- "height": 400,
- "xkey": "timeInterval",
- "ykeys": [
- "birmingham",
- "deal",
- "eye",
- "leeds",
- "liverpool",
- "manchester",
- "reading",
- "march",
- "nottingham",
- "sale",
- "london"
- ],
- "data": [
- {
- "timeInterval": "2011-08-06 16:00:00",
- "birmingham": 17,
- "deal": 107,
- "eye": 158,
- "leeds": 28,
- "liverpool": 33,
- "manchester": 44,
- "reading": 80,
- "march": 45,
- "nottingham": null,
- "sale": 21,
- "london": 2530
- },
- {
- "timeInterval": "2011-08-07 02:00:00",
- "birmingham": 27,
- "deal": 93,
- "eye": 140,
- "leeds": 39,
- "liverpool": 38,
- "manchester": 91,
- "reading": 110,
- "march": 27,
- "nottingham": 18,
- "sale": 211,
- "london": 2583
- },
- {
- "timeInterval": "2011-08-07 12:00:00",
- "birmingham": 53,
- "deal": 223,
- "eye": 90,
- "leeds": 66,
- "liverpool": 56,
- "manchester": 150,
- "reading": 115,
- "march": 19,
- "nottingham": 16,
- "sale": 792,
- "london": 2877
- },
- {
- "timeInterval": "2011-08-07 22:00:00",
- "birmingham": 49,
- "deal": 136,
- "eye": 75,
- "leeds": 23,
- "liverpool": 47,
- "manchester": 71,
- "reading": 146,
- "march": 17,
- "nottingham": null,
- "sale": 367,
- "london": 5832
- },
- {
- "timeInterval": "2011-08-08 08:00:00",
- "birmingham": 601,
- "deal": 512,
- "eye": 99,
- "leeds": 75,
- "liverpool": 134,
- "manchester": 233,
- "reading": 243,
- "march": 90,
- "nottingham": 40,
- "sale": 482,
- "london": 11085
- },
- {
- "timeInterval": "2011-08-08 18:00:00",
- "birmingham": 19904,
- "deal": 2319,
- "eye": 1969,
- "leeds": 4260,
- "liverpool": 14776,
- "manchester": 4025,
- "reading": 1503,
- "march": 180,
- "nottingham": 833,
- "sale": 553,
- "london": 82363
- },
- {
- "timeInterval": "2011-08-09 04:00:00",
- "birmingham": 3917,
- "deal": 700,
- "eye": 519,
- "leeds": 506,
- "liverpool": 3824,
- "manchester": 1295,
- "reading": 606,
- "march": 145,
- "nottingham": 673,
- "sale": 1073,
- "london": 34203
- },
- {
- "timeInterval": "2011-08-09 14:00:00",
- "birmingham": 6681,
- "deal": 1307,
- "eye": 830,
- "leeds": 2387,
- "liverpool": 3499,
- "manchester": 31103,
- "reading": 795,
- "march": 647,
- "nottingham": 2622,
- "sale": 1585,
- "london": 33096
- },
- {
- "timeInterval": "2011-08-10 00:00:00",
- "birmingham": 3651,
- "deal": 267,
- "eye": 68,
- "leeds": 267,
- "liverpool": 1342,
- "manchester": 3719,
- "reading": 182,
- "march": 85,
- "nottingham": 429,
- "sale": 1483,
- "london": 7478
- },
- {
- "timeInterval": "2011-08-10 10:00:00",
- "birmingham": 4336,
- "deal": 310,
- "eye": 183,
- "leeds": 247,
- "liverpool": 907,
- "manchester": 5568,
- "reading": 277,
- "march": 106,
- "nottingham": 280,
- "sale": 314,
- "london": 8886
- },
- {
- "timeInterval": "2011-08-10 20:00:00",
- "birmingham": 1885,
- "deal": 192,
- "eye": 71,
- "leeds": 75,
- "liverpool": 271,
- "manchester": 1083,
- "reading": 116,
- "march": 70,
- "nottingham": 125,
- "sale": 25,
- "london": 3889
- },
- {
- "timeInterval": "2011-08-11 06:00:00",
- "birmingham": 1210,
- "deal": 148,
- "eye": 71,
- "leeds": 154,
- "liverpool": 250,
- "manchester": 1213,
- "reading": 164,
- "march": 52,
- "nottingham": 320,
- "sale": 36,
- "london": 3344
- },
- {
- "timeInterval": "2011-08-11 16:00:00",
- "birmingham": 646,
- "deal": 55,
- "eye": 152,
- "leeds": 83,
- "liverpool": 192,
- "manchester": 801,
- "reading": 189,
- "march": 23,
- "nottingham": 71,
- "sale": 20,
- "london": 2343
- },
- {
- "timeInterval": "2011-08-12 02:00:00",
- "birmingham": 276,
- "deal": 42,
- "eye": 24,
- "leeds": 79,
- "liverpool": 94,
- "manchester": 441,
- "reading": 80,
- "march": 14,
- "nottingham": 59,
- "sale": 20,
- "london": 1571
- },
- {
- "timeInterval": "2011-08-12 12:00:00",
- "birmingham": 460,
- "deal": 58,
- "eye": 22,
- "leeds": 125,
- "liverpool": 144,
- "manchester": 516,
- "reading": 241,
- "march": 40,
- "nottingham": 43,
- "sale": 18,
- "london": 2004
- },
- {
- "timeInterval": "2011-08-12 22:00:00",
- "birmingham": 136,
- "deal": 39,
- "eye": 4,
- "leeds": 31,
- "liverpool": 151,
- "manchester": 112,
- "reading": 34,
- "march": 15,
- "nottingham": 23,
- "sale": 10,
- "london": 752
- },
- {
- "timeInterval": "2011-08-13 08:00:00",
- "birmingham": 247,
- "deal": 76,
- "eye": 11,
- "leeds": 92,
- "liverpool": 451,
- "manchester": 200,
- "reading": 67,
- "march": 106,
- "nottingham": 34,
- "sale": 7,
- "london": 985
- },
- {
- "timeInterval": "2011-08-13 18:00:00",
- "birmingham": 209,
- "deal": 57,
- "eye": 22,
- "leeds": 42,
- "liverpool": 93,
- "manchester": 94,
- "reading": 25,
- "march": 45,
- "nottingham": 45,
- "sale": null,
- "london": 873
- },
- {
- "timeInterval": "2011-08-14 04:00:00",
- "birmingham": 137,
- "deal": 14,
- "eye": 11,
- "leeds": 49,
- "liverpool": 43,
- "manchester": 110,
- "reading": 28,
- "march": 23,
- "nottingham": 26,
- "sale": 7,
- "london": 553
- },
- {
- "timeInterval": "2011-08-14 14:00:00",
- "birmingham": 286,
- "deal": 11,
- "eye": 13,
- "leeds": 46,
- "liverpool": 74,
- "manchester": 98,
- "reading": 29,
- "march": 8,
- "nottingham": 14,
- "sale": 6,
- "london": 395
- },
- {
- "timeInterval": "2011-08-15 00:00:00",
- "birmingham": 98,
- "deal": 15,
- "eye": 5,
- "leeds": 36,
- "liverpool": 25,
- "manchester": 88,
- "reading": 13,
- "march": null,
- "nottingham": 25,
- "sale": null,
- "london": 256
- },
- {
- "timeInterval": "2011-08-15 10:00:00",
- "birmingham": 119,
- "deal": 35,
- "eye": 9,
- "leeds": 68,
- "liverpool": 80,
- "manchester": 297,
- "reading": 23,
- "march": 36,
- "nottingham": 53,
- "sale": 7,
- "london": 763
- },
- {
- "timeInterval": "2011-08-15 20:00:00",
- "birmingham": 33,
- "deal": 19,
- "eye": 3,
- "leeds": 32,
- "liverpool": 25,
- "manchester": 67,
- "reading": 9,
- "march": 3,
- "nottingham": 11,
- "sale": 13,
- "london": 258
- },
- {
- "timeInterval": "2011-08-16 06:00:00",
- "birmingham": 132,
- "deal": 81,
- "eye": 13,
- "leeds": 100,
- "liverpool": 77,
- "manchester": 202,
- "reading": 12,
- "march": 8,
- "nottingham": 26,
- "sale": 9,
- "london": 468
- },
- {
- "timeInterval": "2011-08-16 16:00:00",
- "birmingham": 64,
- "deal": 29,
- "eye": 4,
- "leeds": 95,
- "liverpool": 32,
- "manchester": 399,
- "reading": 11,
- "march": 10,
- "nottingham": 24,
- "sale": 6,
- "london": 323
- },
- {
- "timeInterval": "2011-08-17 03:00:00",
- "birmingham": 85,
- "deal": 29,
- "eye": 9,
- "leeds": 84,
- "liverpool": 41,
- "manchester": 159,
- "reading": 12,
- "march": null,
- "nottingham": 20,
- "sale": 8,
- "london": 343
- }
- ],
- "id": "chart14a4038c173",
- "labels": [ "birmingham", "deal", "eye", "leeds", "liverpool", "manchester", "reading", "march", "nottingham", "sale", "london" ]
- },
- chartType = "Line"
- new Morris[chartType](chartParams)
- </script>
- <script></script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement