[ Index ]
 

Code source de jpGraph 2.2

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/src/Examples/ -> text-example2.php (source)

   1  <?php
   2  include  ("../jpgraph.php");
   3  include  ("../jpgraph_canvas.php");
   4  
   5  // Create the graph. 
   6  $graph = new CanvasGraph(350,200,"auto");    
   7  
   8  $t1 = new Text("a good\nas you can see right now per see\nThis is a text with\nseveral lines\n");
   9  $t1->SetPos(0.05,100);
  10  $t1->SetFont(FF_FONT1,FS_NORMAL);
  11  $t1->SetBox("white","black",true);
  12  $t1->ParagraphAlign("right");
  13  $t1->SetColor("black");
  14  $graph->AddText($t1);
  15  
  16  $graph->Stroke();
  17  
  18  ?>


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