less wide graphs

This commit is contained in:
Sebastian Grewe 2013-06-13 22:00:58 +02:00
parent d9886d8dca
commit 32d94bb6fb

View File

@ -19,7 +19,7 @@ $(function () {
// calculate width of graph so it doesnt overflow its parent div // calculate width of graph so it doesnt overflow its parent div
//var chart_width = ($(this).parent('div').width()) - 60; //var chart_width = ($(this).parent('div').width()) - 60;
// hack to statically set width as something is broken with div width calculation - anni // hack to statically set width as something is broken with div width calculation - anni
var chart_width = $(document).width() - 340; var chart_width = $(document).width() - 400;
if (statsType == 'line' || statsType == 'pie') { if (statsType == 'line' || statsType == 'pie') {
$(this).hide().visualize({ $(this).hide().visualize({