more styling adjustment on the commits-per-month graph
This commit is contained in:
parent
3264070495
commit
316aa08bff
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user