New: On dfinit la constante MAIN_GRAPH_LIBRARY qui pourra etre utilis pour choisir la librairie graphique utilise.
This commit is contained in:
parent
bd2524521d
commit
8b6d69813e
@ -169,14 +169,13 @@ if ($_GET["id"] || $_GET["ref"])
|
||||
$px->SetShading(5);
|
||||
//print 'x '.$key.' '.$graphfiles[$key]['file'];
|
||||
|
||||
// Pour orders, on force la lib graphique sur artichow
|
||||
// \todo A supprimer car on peut switcher entre artichow et phplot par la
|
||||
// constante MAIN_GRAPH_LIBRARY qui peut valoir ('artichow' ou 'phplot')
|
||||
if ($key == 'orders')
|
||||
{
|
||||
$px->library = 'artichow';
|
||||
}
|
||||
else
|
||||
{
|
||||
$px->library = 'phplot';
|
||||
}
|
||||
|
||||
$px->draw($dir."/".$graphfiles[$key]['file']);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user