fix: calculate other correctly
This commit is contained in:
parent
b70f29b6a8
commit
5c15af145b
|
@ -77,7 +77,7 @@
|
|||
continue;
|
||||
}
|
||||
|
||||
other.y += 1;
|
||||
other.y += data[i].y;
|
||||
}
|
||||
|
||||
newData.push(other);
|
||||
|
@ -117,7 +117,7 @@
|
|||
}
|
||||
|
||||
makeChart('duties', 'dutiesChart', 'pie', true);
|
||||
makeChart('hosts', 'hostsChart', 'pie');
|
||||
makeChart('hosts', 'hostsChart', 'doughnut');
|
||||
makeChart('hours', 'hoursChart', 'bar');
|
||||
makeChart('days', 'daysChart', 'bar');
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue