Mercurial > bottledash
comparison modules/roundup_cc/graph.html @ 12:50f4c64834cb
delegation of dynamic charts works now
author | sean |
---|---|
date | Tue, 04 Aug 2015 16:00:07 +0200 |
parents | 7a573ec679a6 |
children | 63b9f41c3008 |
comparison
equal
deleted
inserted
replaced
11:7a573ec679a6 | 12:50f4c64834cb |
---|---|
94 // document.getElementsByClassName("chart")[0].innerHTML = ""; | 94 // document.getElementsByClassName("chart")[0].innerHTML = ""; |
95 // makeChart(); | 95 // makeChart(); |
96 // }; | 96 // }; |
97 | 97 |
98 var critical=[]; | 98 var critical=[]; |
99 | 99 var urgent=[]; |
100 var bug=[]; | |
101 var feature=[]; | |
102 var wish=[]; | |
103 var timestamp=[]; | |
100 | 104 |
101 // var critical=[ | 105 // var critical=[ |
102 // {points: 4}, | 106 // {points: 4}, |
103 // {points: 12}, | 107 // {points: 12}, |
104 // {points: 8}, | 108 // {points: 8}, |
138 // {date : new Date('2015-06-30T12:36:47')}, | 142 // {date : new Date('2015-06-30T12:36:47')}, |
139 // {date : new Date('2015-07-01T12:37:26')}, | 143 // {date : new Date('2015-07-01T12:37:26')}, |
140 // {date : new Date('2015-07-02T12:38:26')}, | 144 // {date : new Date('2015-07-02T12:38:26')}, |
141 // {date : new Date('2015-07-03T12:39:26')} | 145 // {date : new Date('2015-07-03T12:39:26')} |
142 // ] | 146 // ] |
143 | |
144 | |
145 | 147 |
146 document.addEventListener("DOMContentLoaded", function(event) { | 148 document.addEventListener("DOMContentLoaded", function(event) { |
147 makeChart(); | 149 makeChart(); |
148 }); | 150 }); |
149 | 151 |