aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee1
-rw-r--r--wqflask/wqflask/static/new/javascript/chr_lod_chart.js1
-rw-r--r--wqflask/wqflask/templates/marker_regression_gn1.html15
3 files changed, 16 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee b/wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee
index 7fec4836..8a5a3569 100644
--- a/wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee
+++ b/wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee
@@ -274,6 +274,7 @@ class Chr_Lod_Chart
$('#topchart').remove()
$('#chart_container').append('<div class="qtlcharts" id="topchart"></div>')
BD.hideButton()
+ $('#close_bd').hide();
$('#bd_container').hide()
create_lod_chart()
diff --git a/wqflask/wqflask/static/new/javascript/chr_lod_chart.js b/wqflask/wqflask/static/new/javascript/chr_lod_chart.js
index 6603b534..bae4565d 100644
--- a/wqflask/wqflask/static/new/javascript/chr_lod_chart.js
+++ b/wqflask/wqflask/static/new/javascript/chr_lod_chart.js
@@ -259,6 +259,7 @@ Chr_Lod_Chart = (function() {
$('#topchart').remove();
$('#chart_container').append('<div class="qtlcharts" id="topchart"></div>');
BD.hideButton();
+ $('#close_bd').hide();
$('#bd_container').hide();
return create_lod_chart();
};
diff --git a/wqflask/wqflask/templates/marker_regression_gn1.html b/wqflask/wqflask/templates/marker_regression_gn1.html
index c06b77aa..774c7a09 100644
--- a/wqflask/wqflask/templates/marker_regression_gn1.html
+++ b/wqflask/wqflask/templates/marker_regression_gn1.html
@@ -441,7 +441,20 @@
BD.putSource({name: 'SNP density',
jbURI: "http://test-gn2.genenetwork.org/api_pre1/snp",
jbQuery: "",
- stylesheet_uri: "http://test-gn2.genenetwork.org/api_pre1/stylesheets/snp-stylesheet.xml",
+ style: [{
+ type: 'default',
+ style: {
+ glyph: "HISTOGRAM",
+ MIN: 0,
+ MAX: 5000,
+ HEIGHT: 60,
+ STEPS: 100,
+ COLOR1: "red",
+ COLOR2: "red",
+ COLOR3: "red",
+ AXISCENTER: "true",
+ }
+ }]
});
</script>