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);
if ($stats_count < 12)
{
// nothing
}
else if ($stats_count <= 15)
if ($stats_count <= 8)
{
$this->graph->setXValuesInterval(1);
}
else if ($stats_count <= 16)
{
$this->graph->setXValuesInterval(2);
}
else
{
$this->graph->setXValuesInterval(11);