diff options
-rw-r--r-- | wqflask/wqflask/templates/pair_scan_results.html | 38 |
1 files changed, 12 insertions, 26 deletions
diff --git a/wqflask/wqflask/templates/pair_scan_results.html b/wqflask/wqflask/templates/pair_scan_results.html index 43c753e2..b6ac26be 100644 --- a/wqflask/wqflask/templates/pair_scan_results.html +++ b/wqflask/wqflask/templates/pair_scan_results.html @@ -3,9 +3,9 @@ {% block css %} <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='DataTables/css/jquery.dataTables.css') }}" /> <link rel="stylesheet" type="text/css" href="{{ url_for('css', filename='d3-tip/d3-tip.css') }}" /> -<link rel="stylesheet" type="text/css" href="/static/new/css/pair_scan.css" /> <link rel="stylesheet" type="text/css" href="/static/new/css/show_trait.css" /> <link rel="stylesheet" type="text/css" href="/static/new/css/d3panels.css" /> +<link rel="stylesheet" type="text/css" href="/static/new/css/pair_scan.css" /> {% endblock %} {% block content %} <!-- Start of body --> @@ -22,7 +22,7 @@ <div class="qtlcharts" id="chart_container"> <div id="pairscan_chart"></div> </div> - <div style="width: 1100px;"> + <div class="pairscan-container"> <h2> Results </h2> @@ -82,29 +82,6 @@ var data, mychart; -// d3.json("data.json").then(function(data) { -// var mychart; -// mychart = d3panels.lod2dheatmap({ -// altrectcolor: "", -// chrlinecolor: "black", -// equalCells: true -// }); -// return mychart(d3.select("div#pairscan_chart"), data); -// }); - -// d3.json("data.json").then(function(data) { -// var mychart; -// mychart = d3panels.lod2dheatmap({ -// oneAtTop: true, -// altrectcolor: "", -// chrlinecolor: "black", -// colors: ["crimson", "white", "slateblue"], -// equalCells: true -// }); -// data.poslabel = data.marker; -// return mychart(d3.select("div#chart2"), data); -// }); - mychart = d3panels.lod2dheatmap({ equalCells: true }); @@ -112,8 +89,17 @@ mychart = d3panels.lod2dheatmap({ mychart(d3.select('div#pairscan_chart'), figure_data); table_conf = { + "columns":[ + { "width": "165px" }, + { "width": "130px" }, + { "width": "130px" }, + { "width": "50px" }, + { "width": "165px" }, + { "width": "130px" }, + { "width": "130px" }, + ], "sDom": "itir", - "autoWidth": true, + "autoWidth": false, "bSortClasses": false, "order": [[3, "desc" ]], "scrollY": "100vh", |