aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorZachary Sloan2014-08-04 19:08:17 +0000
committerZachary Sloan2014-08-04 19:08:17 +0000
commit7ae4ea4cfd2bc06e71a23cd92d725a6b8a40d06e (patch)
treeaed9c72ed3502fe2ebfed10cda2f975140f320db /wqflask
parent692d074cbe9141820acc0edcce07af8ba2e25bbe (diff)
downloadgenenetwork2-7ae4ea4cfd2bc06e71a23cd92d725a6b8a40d06e.tar.gz
Fixed another minor issue with the heatmap where the original curve wouldn't be removed
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/iplotMScanone_noeff.coffee1
-rw-r--r--wqflask/wqflask/static/new/javascript/iplotMScanone_noeff.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/static/new/javascript/iplotMScanone_noeff.coffee b/wqflask/wqflask/static/new/javascript/iplotMScanone_noeff.coffee
index 7831b2d4..63ded023 100644
--- a/wqflask/wqflask/static/new/javascript/iplotMScanone_noeff.coffee
+++ b/wqflask/wqflask/static/new/javascript/iplotMScanone_noeff.coffee
@@ -87,6 +87,7 @@ iplotMScanone_noeff = (lod_data, times, chartOpts) ->
# plot lod curves for selected lod column
lodchart_curves = null
plotLodCurve = (lodcolumn) ->
+ g_lodchart.selectAll("g#curves").remove()
lodchart_curves = g_lodchart.append("g").attr("id", "lodcurves")
for chr in lod_data.chrnames
lodchart_curves.append("path")
diff --git a/wqflask/wqflask/static/new/javascript/iplotMScanone_noeff.js b/wqflask/wqflask/static/new/javascript/iplotMScanone_noeff.js
index 8f6787c3..90ed80d0 100644
--- a/wqflask/wqflask/static/new/javascript/iplotMScanone_noeff.js
+++ b/wqflask/wqflask/static/new/javascript/iplotMScanone_noeff.js
@@ -63,6 +63,7 @@ iplotMScanone_noeff = function(lod_data, times, chartOpts) {
lodchart_curves = null;
plotLodCurve = function(lodcolumn) {
var chr, _i, _len, _ref21, _results;
+ g_lodchart.selectAll("g#curves").remove();
lodchart_curves = g_lodchart.append("g").attr("id", "lodcurves");
_ref21 = lod_data.chrnames;
_results = [];