aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/static/new/javascript/marker_regression.coffee13
-rw-r--r--wqflask/wqflask/static/new/javascript/marker_regression.js4
2 files changed, 9 insertions, 8 deletions
diff --git a/wqflask/wqflask/static/new/javascript/marker_regression.coffee b/wqflask/wqflask/static/new/javascript/marker_regression.coffee
index 655c8d1a..7eb62ec1 100644
--- a/wqflask/wqflask/static/new/javascript/marker_regression.coffee
+++ b/wqflask/wqflask/static/new/javascript/marker_regression.coffee
@@ -118,8 +118,7 @@ $ ->
showGridline: false
formatString: '%d'
label: "Megabases"
-
-
+
if @name == "1"
plot_options.axes.yaxis =
@@ -161,8 +160,7 @@ $ ->
if result.lrs > @max_lrs
@max_lrs = result.lrs
@chromosomes[chromosome].process_point(mb, result.lrs)
-
-
+
display_graphs: ->
### Call display_graph for each chromosome ###
@@ -188,9 +186,12 @@ $ ->
console.log("html is:", html)
$("#manhattan_plots").append(html)
@chromosomes[key].display_graph(@max_lrs)
+
+ $('.jqplot-yaxis').hide()
+ $('#manhattan_plot_1').find('.jqplot-yaxis').show()
- $(".jqplot-yaxis").hide()
- $(".jqplot-yaxis-tick").hide()
+ #$(".jqplot-yaxis").hide()
+ #$(".jqplot-yaxis-tick").hide()
#process_data: ->
diff --git a/wqflask/wqflask/static/new/javascript/marker_regression.js b/wqflask/wqflask/static/new/javascript/marker_regression.js
index 6f4a33e7..19a7d051 100644
--- a/wqflask/wqflask/static/new/javascript/marker_regression.js
+++ b/wqflask/wqflask/static/new/javascript/marker_regression.js
@@ -212,8 +212,8 @@
$("#manhattan_plots").append(html);
this.chromosomes[key].display_graph(this.max_lrs);
}
- $(".jqplot-yaxis").hide();
- return $(".jqplot-yaxis-tick").hide();
+ $('.jqplot-yaxis').hide();
+ return $('#manhattan_plot_1').find('.jqplot-yaxis').show();
};
return Manhattan_Plot;