diff options
author | zsloan | 2023-05-01 18:39:56 +0000 |
---|---|---|
committer | zsloan | 2023-05-01 18:40:37 +0000 |
commit | 142dc2fa87a602c5f357e0a16ab799ed1371b91a (patch) | |
tree | 2b3809f196e1cb736d8364d8f7be8f6ea86a535b | |
parent | 458681a451dad3e0d5e75b8e8b7459f6ccffb240 (diff) | |
download | genenetwork2-142dc2fa87a602c5f357e0a16ab799ed1371b91a.tar.gz |
Left-align histogram title
For some reason xanchor=right does this
-rw-r--r-- | wqflask/wqflask/static/new/javascript/show_trait.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/static/new/javascript/show_trait.js b/wqflask/wqflask/static/new/javascript/show_trait.js index a2a5c67d..f13ce79c 100644 --- a/wqflask/wqflask/static/new/javascript/show_trait.js +++ b/wqflask/wqflask/static/new/javascript/show_trait.js @@ -1418,7 +1418,7 @@ root.histogram_data = [hist_trace]; root.histogram_layout = { bargap: 0.05, title: { - xanchor: 'left', + xanchor: 'right', text: "<b>Trait " + js_data.trait_id + ": " + js_data.short_description + "</b>", }, xaxis: { |