Show More
@@ -95,7 +95,7 b' function Graph() {' | |||||
95 | var backgrounds = ''; |
|
95 | var backgrounds = ''; | |
96 | var nodedata = ''; |
|
96 | var nodedata = ''; | |
97 |
|
97 | |||
98 |
for (var i |
|
98 | for (var i = 0; i < data.length; i++) { | |
99 |
|
99 | |||
100 | var parity = i % 2; |
|
100 | var parity = i % 2; | |
101 | this.cell[1] += this.bg_height; |
|
101 | this.cell[1] += this.bg_height; | |
@@ -107,7 +107,7 b' function Graph() {' | |||||
107 | var fold = false; |
|
107 | var fold = false; | |
108 |
|
108 | |||
109 | var prevWidth = this.ctx.lineWidth; |
|
109 | var prevWidth = this.ctx.lineWidth; | |
110 |
for (var j |
|
110 | for (var j = 0; j < edges.length; j++) { | |
111 |
|
111 | |||
112 | line = edges[j]; |
|
112 | line = edges[j]; | |
113 | start = line[0]; |
|
113 | start = line[0]; | |
@@ -227,6 +227,7 b' function process_dates(parentSelector){' | |||||
227 | } |
|
227 | } | |
228 |
|
228 | |||
229 | for (var unit in scales){ |
|
229 | for (var unit in scales){ | |
|
230 | if (!scales.hasOwnProperty(unit)) { continue; } | |||
230 | var s = scales[unit]; |
|
231 | var s = scales[unit]; | |
231 | var n = Math.floor(delta / s); |
|
232 | var n = Math.floor(delta / s); | |
232 | if ((n >= 2) || (s === 1)){ |
|
233 | if ((n >= 2) || (s === 1)){ |
General Comments 0
You need to be logged in to leave comments.
Login now