more styling adjustment on the commits-per-month graph

This commit is contained in:
hyung-hwan 2015-02-10 02:56:50 +00:00
parent 3264070495
commit 316aa08bff

View File

@ -895,17 +895,17 @@ class Code extends Controller
{ {
$this->graph->setBarSpace(FALSE); $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 else
{ {
$this->graph->setXValuesInterval(11); $this->graph->setXValuesInterval(11);
} }
} }
//$this->graph->setGrid(FALSE); //$this->graph->setGrid(FALSE);