This commit is contained in:
d3m1g0d
2019-04-28 11:37:08 +02:00
parent ca819b84e7
commit a23ecd095c

View File

@@ -29,7 +29,7 @@ function fillTable (obj, dom) {
function graphSpectralData (obj, dom) {
// graphs the data from obj[0] into canvas at dom
var arr = [];
['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'R', 'I', 'S', 'J', 'T', 'U', 'V', 'W', 'K', 'L'].forEach(function () {
['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'R', 'I', 'S', 'J', 'T', 'U', 'V', 'W', 'K', 'L'].forEach(function (i) {
arr.push(obj[i]);
});
var chart = new Chart(dom, {