[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/projectmanager/inc/jpgraph-1.5.2/src/Examples/ -> pieex4.php (source)

   1  <?php
   2  include  ("../jpgraph.php");
   3  include  ("../jpgraph_pie.php");
   4  
   5  $data = array(40,60,21,33);
   6  
   7  $graph = new PieGraph(300,200,"auto");
   8  $graph->SetShadow();
   9  
  10  $graph->title->Set("Example 4 of pie plot");
  11  $graph->title->SetFont(FF_FONT1,FS_BOLD);
  12  
  13  $p1 = new PiePlot($data);
  14  $p1->SetFont(FF_FONT1,FS_BOLD);
  15  $p1->SetFontColor("darkred");
  16  $p1->SetSize(0.3);
  17  $p1->SetCenter(0.4);
  18  $p1->SetLegends(array("Jan","Feb","Mar","Apr","May"));
  19  $graph->Add($p1);
  20  
  21  $graph->Stroke();
  22  
  23  ?>
  24  
  25  


Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7