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,14 +895,14 @@ class Code extends Controller
{ {
$this->graph->setBarSpace(FALSE); $this->graph->setBarSpace(FALSE);
if ($stats_count < 12) if ($stats_count <= 8)
{
// nothing
}
else if ($stats_count <= 15)
{ {
$this->graph->setXValuesInterval(1); $this->graph->setXValuesInterval(1);
} }
else if ($stats_count <= 16)
{
$this->graph->setXValuesInterval(2);
}
else else
{ {
$this->graph->setXValuesInterval(11); $this->graph->setXValuesInterval(11);