fix do double column charts on HiDPi resolutions
Costa Tsaousis committed
Feb 15, 2017 at 19:56 UTC
864106a5e6b8b8d99b4525d82767cbd740ba3c06
1 file changed
+5
-4
web/index.html
+5
-4
@@ -880,15 +880,16 @@
880
families_idx: {},
881
882
chartsPerRow: 0,
883
- chartsMinWidth: 1450,
883
+ // chartsMinWidth: 1450,
884
chartsHeight: 180
885
};
886
887
function chartsPerRow(total) {
888
if(options.chartsPerRow === 0) {
889
- var width = Math.floor(total / options.chartsMinWidth);
890
- if(width === 0) width = 1;
891
- return width;
889
+ return 1;
890
+ //var width = Math.floor(total / options.chartsMinWidth);
891
+ //if(width === 0) width = 1;
892
+ //return width;
893
}
894
else return options.chartsPerRow;
895
}