about summary refs log tree commit diff
diff options
context:
space:
mode:
authorchristian2016-08-17 11:16:29 +0200
committerchristian2016-08-17 11:16:29 +0200
commitb4e1a20fd1d905701dbd0107e81d671f4f08a9f0 (patch)
treed507896bcaaa9c3f12053da1d9778da88bd95702
parent0fd90b4c3578121aaa36ef57bebfbece1c05cbdd (diff)
downloadgenenetwork2-b4e1a20fd1d905701dbd0107e81d671f4f08a9f0.tar.gz
Fix SNP stylesheet to fit new bin size
-rw-r--r--wqflask/wqflask/templates/marker_regression_gn1.html15
1 files changed, 14 insertions, 1 deletions
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",
+                       }
+                   }]
      });
     </script>