diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2017-02-15 19:56:47 +0200 |
---|---|---|
committer | Costa Tsaousis <costa@tsaousis.gr> | 2017-02-15 19:56:47 +0200 |
commit | 864106a5e6b8b8d99b4525d82767cbd740ba3c06 (patch) | |
tree | a3ce1da0c748a8e1f5953f85da613f4cd7181847 /web | |
parent | 9b30080dbb6e0713d155120abf21581535fa9128 (diff) |
fix do double column charts on HiDPi resolutions
Diffstat (limited to 'web')
-rw-r--r-- | web/index.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/web/index.html b/web/index.html index 6b36663064..a5bf5aaf65 100644 --- a/web/index.html +++ b/web/index.html @@ -880,15 +880,16 @@ families_idx: {}, chartsPerRow: 0, - chartsMinWidth: 1450, + // chartsMinWidth: 1450, chartsHeight: 180 }; function chartsPerRow(total) { if(options.chartsPerRow === 0) { - var width = Math.floor(total / options.chartsMinWidth); - if(width === 0) width = 1; - return width; + return 1; + //var width = Math.floor(total / options.chartsMinWidth); + //if(width === 0) width = 1; + //return width; } else return options.chartsPerRow; } |