[ 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/ -> spiderex3.php (source)

   1  <?php
   2      include  ("../jpgraph.php");
   3      include  ("../jpgraph_spider.php");
   4      
   5      // Some data to plot
   6      $data = array(55,80,46,71,95);
   7      $axtitles=array("Jan","Feb","Mar","Apr","May");
   8  
   9      
  10      // Create the graph and the plot
  11      $graph = new SpiderGraph(250,200,"auto");
  12      $plot = new SpiderPlot($data);
  13  
  14      $plot->SetLegend("Defects");
  15  
  16      // Set position and size    
  17      $graph->SetCenter(0.5,0.55);
  18      $graph->SetTitles($axtitles);
  19      $graph->axis->title->SetColor("navy");
  20      $graph->axis->title->SetFont(FF_ARIAL,FS_BOLD,10);
  21      $graph->title->Set("Result 2000");
  22      $graph->title->SetFont(FF_COURIER,FS_BOLD,11);
  23  
  24      // Add the plot and display the graph
  25      $graph->Add($plot);
  26      $graph->Stroke();
  27  ?>
  28  
  29      


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