Skip to content
Snippets Groups Projects
Commit 16e2b7e1 authored by Winnie's avatar Winnie
Browse files

Update outputDetails

parent 04fd2f62
No related branches found
No related tags found
No related merge requests found
......@@ -78,8 +78,6 @@ Double Handle Slider Modified from: http://jqueryui.com/slider/#range
<section id="outputWrapper">
<section id="outputDetails">
Found x results (x seconds)<br>
Total population:</bold> 66122855<br>
<!-- Stuff like population count, entries found, etc. go here -->
</section>
......
......@@ -126,6 +126,7 @@ function reqHistogram(params){
if (xhr.readyState == XMLHttpRequest.DONE && xhr.status == 200) {
var nodeList = JSON.parse(this.responseText);
histogram(nodeList["x"], nodeList["y"]);
document.getElementById("outputDetails").innerHTML = "Found " + nodeList["n"] + " results " + "(" + nodeList["time"] + " seconds)<br> Total Population: " + nodeList["individualCount"];
}
else {
console.log("Server Response: Error"); //RME
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment