diff --git a/htdocs/compta/facture/stats/index.php b/htdocs/compta/facture/stats/index.php index f7e3d08bcfc..1d943657c4b 100644 --- a/htdocs/compta/facture/stats/index.php +++ b/htdocs/compta/facture/stats/index.php @@ -42,7 +42,7 @@ $year = strftime("%Y", time()); $data = $stats->getNbByMonthWithPrevYear($year); $filev = "/document/images/nbfacture2year-$year.png"; -$px = new Graph($data); +$px = new BarGraph($data); $px->SetMaxValue($px->GetMaxValue()); $px->SetLegend(array($year - 1, $year)); $px->SetWidth(450);