From c52bbc8f0da472248b381a6e09bb3c8bb9643b60 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sat, 19 Oct 2013 16:42:29 -0700 Subject: [PATCH] graphs: hack 300px width on charts because I can't figure out how to make 100% work --- public/js/controllers/rootCtrl.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/controllers/rootCtrl.js b/public/js/controllers/rootCtrl.js index 0ea848316c..0efb9031c8 100644 --- a/public/js/controllers/rootCtrl.js +++ b/public/js/controllers/rootCtrl.js @@ -88,7 +88,8 @@ habitrpg.controller("RootCtrl", ['$scope', '$rootScope', '$location', 'User', '$ title: 'History', backgroundColor: { fill: 'transparent' - } + }, + width:300 }; chart = new google.visualization.LineChart($("." + id + "-chart")[0]); chart.draw(data, options);