[ Index ]
 

Code source de jpGraph 2.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

   1  <?php
   2  include  ("../jpgraph.php");
   3  include  ("../jpgraph_line.php");
   4  
   5  $ydata = array(12,17,22,19,5,15);
   6  
   7  $graph = new Graph(220,200);
   8  $graph->SetScale("textlin",3,35);
   9  $graph->yscale->SetAutoTicks();
  10  
  11  $graph->title->Set('Manual scale, allow adjustment');
  12  $graph->title->SetFont(FF_FONT1,FS_BOLD);
  13  
  14  $line = new LinePlot($ydata);
  15  $graph->Add($line);
  16  
  17  // Output graph
  18  $graph->Stroke();
  19  
  20  ?>
  21  
  22  


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