Bonjour,
J'ai installé la bibliotheque JpGraph mais lorsque j'execute mon code il me dit
Fatal error: Class 'Graph' not found in C:\wamp\www\aide\jpgraph-1.20.1\src\jpgraph_pie.php on line 1115
une idée?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 <?php include('jpgraph-1.20.1\src\JpGraph_pie.php'); include('jpgraph-1.20.1\src\JpGraph_pie3d.php'); include('jpgraph-1.20.1\src\JpGraph.php'); $data=array(40,60,21,33); $graph = new PieGraph (300, 200); $graph->SetShadow(); $graph->title->Set('petit camenbert'); $pl= new PiePlot3D($data); $graph->Add($pl); $graph->Stroke(); ?>
Partager