diff options
author | Alexander Kabui | 2022-03-08 22:38:44 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-03-14 19:55:33 +0300 |
commit | b58ef3d974acea22d0de59a11a79090aabf6f411 (patch) | |
tree | c4a136669e3d5017b86c82608e44d649a809e055 | |
parent | 53adc9c998cf2ae91382035a3a8b54677bcc1cf8 (diff) | |
download | genenetwork2-b58ef3d974acea22d0de59a11a79090aabf6f411.tar.gz |
add custom configs for scree plot
-rw-r--r-- | wqflask/wqflask/templates/pca_scree_plot.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/pca_scree_plot.html b/wqflask/wqflask/templates/pca_scree_plot.html index 5b8ab09e..7ebed1d3 100644 --- a/wqflask/wqflask/templates/pca_scree_plot.html +++ b/wqflask/wqflask/templates/pca_scree_plot.html @@ -69,6 +69,23 @@ const data = [{ } }] + + +let custom_configs = (filename, format, modebar = true) => { + + return { + displayModeBar: modebar, + scrollZoom: false, + toImageButtonOptions: { + format, + filename, + height: 600, + width: 700, + scale: 1 + } + } + +} </script> </html> |