<?php
include ("../jpgraph.php"
include ("../jpgraph_canvas.php"
// Create the graph.
$graph = new CanvasGraph(550,200,"auto"
$t1 = new Text("这是一个文本带有更多文本\nThis is a text with more text"
$t1->os(0.05,0.5);
$t1->;SetOrientation("h"
$t1->;SetFont(FF_SIMSUN ,FS_NORMAL,9);
$t1->;SetBox("white","black",'gray');
$t1->;SetColor("black"
$graph->;AddText($t1);