From 316aa08bff7557d2009a61e1c85519a5070dba09 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Tue, 10 Feb 2015 02:56:50 +0000 Subject: [PATCH] more styling adjustment on the commits-per-month graph --- codepot/src/codepot/controllers/code.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/codepot/src/codepot/controllers/code.php b/codepot/src/codepot/controllers/code.php index 3937abd3..2d68bbb4 100644 --- a/codepot/src/codepot/controllers/code.php +++ b/codepot/src/codepot/controllers/code.php @@ -895,17 +895,17 @@ class Code extends Controller { $this->graph->setBarSpace(FALSE); - if ($stats_count < 12) + if ($stats_count <= 8) { - // nothing + $this->graph->setXValuesInterval(1); } - else if ($stats_count <= 15) + else if ($stats_count <= 16) { - $this->graph->setXValuesInterval(1); + $this->graph->setXValuesInterval(2); } else { - $this->graph->setXValuesInterval(11); + $this->graph->setXValuesInterval(11); } } //$this->graph->setGrid(FALSE);