[ Index ]
 

Code source de jpGraph 2.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/src/Examples/ -> radarex4.php (source)

   1  <?php
   2  include  ("../jpgraph.php");
   3  include  ("../jpgraph_radar.php");
   4      
   5  // Some data to plot
   6  $data = array(55,80,26,31,95);
   7      
   8  // Create the graph and the plot
   9  $graph = new RadarGraph(250,200,"auto");
  10  
  11  // Create the titles for the axis
  12  $titles = $gDateLocale->GetShortMonth();
  13  $graph->SetTitles($titles);
  14  
  15  // Add grid lines
  16  $graph->grid->Show();
  17  $graph->grid->SetLineStyle('dotted');
  18  
  19  $plot = new RadarPlot($data);
  20  $plot->SetFillColor('lightblue');
  21  
  22  // Add the plot and display the graph
  23  $graph->Add($plot);
  24  $graph->Stroke();
  25  ?>


Généré le : Sat Nov 24 09:27:55 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics