From b4e1a20fd1d905701dbd0107e81d671f4f08a9f0 Mon Sep 17 00:00:00 2001 From: christian Date: Wed, 17 Aug 2016 11:16:29 +0200 Subject: Fix SNP stylesheet to fit new bin size --- wqflask/wqflask/templates/marker_regression_gn1.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/wqflask/wqflask/templates/marker_regression_gn1.html b/wqflask/wqflask/templates/marker_regression_gn1.html index 71d92a23..a6c942dc 100644 --- a/wqflask/wqflask/templates/marker_regression_gn1.html +++ b/wqflask/wqflask/templates/marker_regression_gn1.html @@ -436,7 +436,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", + } + }] }); -- cgit v1.2.3 From abb988fca2c0c67be0bcd7108902fb3ba403d5b9 Mon Sep 17 00:00:00 2001 From: christian Date: Wed, 17 Aug 2016 17:01:59 +0200 Subject: Hide "close BD" button when returning to full view --- wqflask/wqflask/static/new/javascript/chr_lod_chart.coffee | 1 + wqflask/wqflask/static/new/javascript/chr_lod_chart.js | 1 + 2 files changed, 2 insertions(+) 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('
') 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('
'); BD.hideButton(); + $('#close_bd').hide(); $('#bd_container').hide(); return create_lod_chart(); }; -- cgit v1.2.3