Commit de0b8beb authored by Hannes Warnestad's avatar Hannes Warnestad
Browse files

Probably last update

parent f9bd5b98
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -12,7 +12,7 @@ class resultBase extends WC { ...@@ -12,7 +12,7 @@ class resultBase extends WC {
constructor(template, allChartsInfo) { constructor(template, allChartsInfo) {
super(template, { shadowMode: "closed" }) super(template, { shadowMode: "closed" })
let allCharts = []; let allCharts = [];
for (let i = 0; i < allChartsInfo.length; i++) { for (let i = 0; i < allChartsInfo.length; i++) {
const tempDiv = document.createElement("div"); const tempDiv = document.createElement("div");
template.appendChild(tempDiv); template.appendChild(tempDiv);
...@@ -27,7 +27,7 @@ class resultBase extends WC { ...@@ -27,7 +27,7 @@ class resultBase extends WC {
this.addSeries({ this.addSeries({
data: [{ data: [{
x: i, x: i,
y: res2.count.map(parseFloat) y: parseFloat(res2.count)
}] }]
}) })
}); });
...@@ -68,7 +68,7 @@ class resultBase extends WC { ...@@ -68,7 +68,7 @@ class resultBase extends WC {
}); });
} }
allCharts.forEach(chart =>{ allCharts.forEach(chart => {
chart.redraw(); chart.redraw();
}) })
} }
......
No preview for this file type
#Generated by Maven #Generated by Maven
#Tue Nov 24 08:54:55 CET 2020 #Tue Nov 24 09:05:56 CET 2020
groupId=com.rplp.forms groupId=com.rplp.forms
artifactId=rplp-forms artifactId=rplp-forms
version=1.0.0 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