diff --git a/htdocs/product/stats/fiche.php b/htdocs/product/stats/fiche.php index 4b706a0c6ee..dc38631e99a 100644 --- a/htdocs/product/stats/fiche.php +++ b/htdocs/product/stats/fiche.php @@ -29,6 +29,9 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/product.lib.php'; require_once DOL_DOCUMENT_ROOT.'/product/class/product.class.php'; require_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php'; +$WIDTH=DolGraph::getDefaultGraphSizeForStats('width',380); +$HEIGHT=DolGraph::getDefaultGraphSizeForStats('height',160); + $langs->load("companies"); $langs->load("products"); $langs->load("bills"); @@ -97,23 +100,28 @@ if (! empty($id) || ! empty($ref)) // Choice of stats + if (! empty($conf->dol_use_jmobile)) print "\n".'