From 2f1280cb69973d8a2b8d26a283a4f59a80b59618 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Fri, 13 Sep 2019 15:22:43 +0100 Subject: Remove y-axis value from table --- app/static/js/updateTable.js | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/app/static/js/updateTable.js b/app/static/js/updateTable.js index 321114f..849c196 100644 --- a/app/static/js/updateTable.js +++ b/app/static/js/updateTable.js @@ -17,8 +17,7 @@ function updateTable() { var heading = new Array(); heading[0] = "#"; - heading[1] = "X"; - heading[2] = "Y"; + heading[1] = "T"; // TABLE COLUMNS var thead = document.createElement('THEAD'); @@ -49,12 +48,6 @@ function updateTable() { )); tr.appendChild(td); - var td = document.createElement('TD'); - td.appendChild(document.createTextNode( - d3.select(cp).data()[0].Y - )); - tr.appendChild(td); - body.appendChild(tr); } table.appendChild(body); @@ -77,9 +70,7 @@ function updateTableMulti(numCharts) { var heading = new Array(); heading[0] = "#"; - heading[1] = "X"; - for (j=0; j