Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 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("This is a text with more text");
9
$t1->Pos(0.05,0.5);
10
$t1->SetOrientation("h");
11
$t1->SetFont(FF_FONT1,FS_NORMAL);
12
$t1->SetBox("white","black",'gray');
13
$t1->SetColor("black");
14
$graph->AddText($t1);
15
 
16
$graph->Stroke();
17
 
18
?>