Comment installer Jpgraph ???

xunil2003 Messages postés 765 Date d'inscription   Statut Membre Dernière intervention   -  
mpmp93 Messages postés 6648 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,

Comment s'installe Jpgraph ?

J'ai télécharger le fichier.
Puis j'ai copier le fichier dans le dossier que créer précédament /var/www/jgraph/
Dans le terminal j'ai décompressé l'archive
sudo tar -zxvf /var/www/jpgraph/jpgraph-3.0.7.tar.gz
Mais j'ai pas compris y a rien dans mon dossier ???

serveur@debian:~$ ls -al /var/www/jpgraph/
total 23796
drwxr-xr-x 2 root root 4096 1 févr. 01:59 .
drwxrwxrwx 12 root www-data 4096 1 févr. 01:59 ..
-rw------- 1 root root 11032922 1 févr. 01:52 jpgraph-3.0.7.tar.gz
-rw------- 1 root root 13286001 1 févr. 01:52 jpgraph-3.5.0b1.tar.gz
serveur@debian:~$

Les fichiers ce trouve ici :
/home/serveur/src

Dans mon fichier php, j'ai mis :
$chemin_jpgraph="/home/serveur/src";
echo "chemin_jpgraph : $chemin_jpgraph <br>";

// content="text/plain; charset=utf-8"
require_once ("$chemin_jpgraph/jpgraph.php");
require_once ("$chemin_jpgraph/jpgraph_bar.php");

Mais la page reste blanche ????

Merci.


A voir également:

1 réponse

mpmp93 Messages postés 6648 Date d'inscription   Statut Membre Dernière intervention   1 340
 
Bonjour,

J'ai utilisé JPGRAPH il y a longtemps... TE j'ai toujours eu des soucis, problème stemps d'exécution, taille tampon, etc....

Donc, je suis passé à RGRAPH. ET j'en suis ravi. Il vous faut 1 à 2 jours pour faire de très jolis graphes....

Du coup, j'ai fait un petit tutorial en ligne:
https://html5.immo-scope.com/article/rgraph_debuter

Ici par exemple les graphes en 3D:
https://html5.immo-scope.com/article/rgraph_modifierAspectGraphe

et ici des graphes avec dégradé:
https://html5.immo-scope.com/article/rgraph_modifierCouleursGraphe

et ici des graphes sur des images:
https://html5.immo-scope.com/article/rgraph_imageEnFondGraphe

A+

public function meilleurProgrammeurDuMonde() { return "MOI"; } // humour
0