From 7fa36fb5ecbc5c941992bb33a239642bbaa4ea3c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Fri, 13 Sep 2019 21:40:12 +0200
Subject: [PATCH] improve appearance for compound descriptors radar chart

the radar chart remains at a reasonable size even if the viewport
is resized.
---
 ippisite/ippidb/templates/base.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ippisite/ippidb/templates/base.html b/ippisite/ippidb/templates/base.html
index a4918d9c..18a1e3d5 100644
--- a/ippisite/ippidb/templates/base.html
+++ b/ippisite/ippidb/templates/base.html
@@ -126,7 +126,8 @@
                                                         return label;
                                                     }
                                                 }
-                                            }
+                                            },
+                                            maintainAspectRatio: false
                 }});
             };
             var drawCompoundsBiplotChart = function(canvasId, compoundId, compoundFamily, plotData, tabHash){
-- 
GitLab