Artichow error sur PHP5.2.3
Posté : 14 août 2007, 11:45
Bonjour,
J'ai un message d'erreur (missing imageantialias() function, check your PHP installation) avec Artichow sur Ubuntu (LAMP).
Il est claire qu'il manque une fonction mais comment l'installer ?
J'ai bien créer 2 fichiers: script + html (pour l'affichage)
Voici mon scipt :
<?php
require_once ('/var/www/Artichow-php5/LinePlot.class.php');//j'ai installé Artichow dans mon www
$yvalues = array(10, 14, 53, 25, 33,12,60,55,40,32,26);
$graph = new Graph(400,300);
$plot = new LinePlot($yvalues);
$plot->setSpace(5, 5, 10, NULL);
$plot->title->set("Titre");
$plot->title->setFont(new TuffyBold(12));
$plot->xAxis->title->set("Période");
$plot->xAxis->title->setFont(new TuffyBold(10));
$plot->yAxis->title->set("Nombre");
$plot->yAxis->title->setFont(new TuffyBold(10)); /
$graph->add($plot);
$graph->draw();
?>
Merci bien.
J'ai un message d'erreur (missing imageantialias() function, check your PHP installation) avec Artichow sur Ubuntu (LAMP).
Il est claire qu'il manque une fonction mais comment l'installer ?
J'ai bien créer 2 fichiers: script + html (pour l'affichage)
Voici mon scipt :
<?php
require_once ('/var/www/Artichow-php5/LinePlot.class.php');//j'ai installé Artichow dans mon www
$yvalues = array(10, 14, 53, 25, 33,12,60,55,40,32,26);
$graph = new Graph(400,300);
$plot = new LinePlot($yvalues);
$plot->setSpace(5, 5, 10, NULL);
$plot->title->set("Titre");
$plot->title->setFont(new TuffyBold(12));
$plot->xAxis->title->set("Période");
$plot->xAxis->title->setFont(new TuffyBold(10));
$plot->yAxis->title->set("Nombre");
$plot->yAxis->title->setFont(new TuffyBold(10)); /
$graph->add($plot);
$graph->draw();
?>
Merci bien.