Commit 3448a689 authored by Hannes Warnestad's avatar Hannes Warnestad
Browse files

come on

parent ccc8fa89
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -65,9 +65,9 @@ class resultBase extends WC {
chart.xAxis[0].setCategories(res.xNames);
for (let j = 0; j < res.xNames.length; j++) {
readFromServer(res.data, j).then(res2 => {
var y = parseInt(res2.count);
chart.series[0].addPoint(y);
console.log("Adding data: ", res2, y)
var yVal = parseInt(res2.count);
chart.series[0].addPoint({ x: j, y: yVal });
//console.log("Adding data: ", res2, y)
});
}
})
......
No preview for this file type
#Generated by Maven
#Tue Nov 24 12:08:29 CET 2020
#Tue Nov 24 12:29:25 CET 2020
groupId=com.rplp.forms
artifactId=rplp-forms
version=1.0.0
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment