|
From: Benjamin C. <bc...@us...> - 2002-04-08 15:43:16
|
Update of /cvsroot/phpbt/phpbt
In directory usw-pr-cvs1:/tmp/cvs-serv20108
Modified Files:
index.php
Log Message:
Now compatible with jpgraph 1.6.1
Index: index.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/index.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- index.php 3 Apr 2002 01:00:52 -0000 1.29
+++ index.php 8 Apr 2002 12:54:25 -0000 1.30
@@ -71,10 +71,11 @@
$graph->legend->Pos(0.03, 0.5, 'right', 'center');
// Create
$p1 = new PiePlot($data);
+ $p1->value->SetFormat("%d%%");
+ $p1->value->Show();
$p1->SetLegends($legend);
$p1->SetCSIMTargets($targ,$alts);
$p1->SetCenter(0.25);
- $p1->SetPrecision(0);
$graph->Add($p1);
$graph->Stroke('jpgimages/'.GenImgName());
|