Utilisation de la classe bar
This commit is contained in:
parent
a30726216f
commit
d007ad47cc
@ -42,7 +42,7 @@ $year = strftime("%Y", time());
|
|||||||
$data = $stats->getNbByMonthWithPrevYear($year);
|
$data = $stats->getNbByMonthWithPrevYear($year);
|
||||||
$filev = "/document/images/nbfacture2year-$year.png";
|
$filev = "/document/images/nbfacture2year-$year.png";
|
||||||
|
|
||||||
$px = new Graph($data);
|
$px = new BarGraph($data);
|
||||||
$px->SetMaxValue($px->GetMaxValue());
|
$px->SetMaxValue($px->GetMaxValue());
|
||||||
$px->SetLegend(array($year - 1, $year));
|
$px->SetLegend(array($year - 1, $year));
|
||||||
$px->SetWidth(450);
|
$px->SetWidth(450);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user