fixed cumulative
This commit is contained in:
parent
eb3ea211a9
commit
3de6faba75
@ -121,7 +121,7 @@
|
||||
// extend the latest to the end
|
||||
if(this.options.cumulative) {
|
||||
var lastDateSlot = dates[dates.length - 1];
|
||||
for (var j = lastDateSlot; j <= maxDateSlots; ++j) {
|
||||
for (var j = lastDateSlot + 1; j <= maxDateSlots; ++j) {
|
||||
var rr = rowsPerSlot[j] || (rowsPerSlot[j] = []);
|
||||
rr.push([r, prev_val]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user