[ Index ]
 

Code source de jpGraph 2.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

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

   1  <?php
   2  include  ("../jpgraph.php");
   3  include  ("../jpgraph_line.php");
   4  
   5  $datay = array(11,30,20,13,10,'x',16,12,'x',15,4,9);
   6  
   7  // Setup the graph
   8  $graph = new Graph(400,250);
   9  $graph->SetScale('intlin');
  10  $graph->title->Set('Filled line with NULL values');
  11  //Make sure data starts from Zero whatever data we have
  12  $graph->yscale->SetAutoMin(0);
  13  
  14  $p1 = new LinePlot($datay);
  15  $p1->SetFillColor('lightblue');
  16  $graph->Add($p1);
  17  
  18  // Output line
  19  $graph->Stroke();
  20  
  21  ?>
  22  
  23  


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