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("a good\nas you can see right now per see\nThis is a text with\nseveral lines\n");
|
|
|
9 |
$t1->Pos(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 |
?>
|