Subversion Repositories Applications.gtt

Rev

Rev 61 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
60 jpm 1
<?php
2
 
3
require_once "../../Graph.class.php";
4
 
5
$graph = new Graph(400, 30);
6
 
7
$graph->border->hide();
8
 
9
$driver = $graph->getDriver();
10
 
11
$driver->filledRectangle(
12
	new LinearGradient(
13
		new Black,
14
		new White,
15
 
16
	),
17
	new Line(
18
		new Point(0, 0),
19
		new Point(400, 30)
20
	)
21
);
22
 
23
$graph->draw();
24
 
25
?>