forked from halo-battle/game
Version 1.12
This commit is contained in:
parent
2a066a7498
commit
de31cd3e9a
1373 changed files with 156282 additions and 45238 deletions
25
onyx2/include/jpgraph/Examples/rotex4.php
Normal file
25
onyx2/include/jpgraph/Examples/rotex4.php
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
<?php
|
||||
include ("../jpgraph.php");
|
||||
include ("../jpgraph_line.php");
|
||||
|
||||
$ydata = array(12,17,22,19,5,15);
|
||||
|
||||
$graph = new Graph(270,170);
|
||||
$graph->SetMargin(30,90,30,30);
|
||||
$graph->SetScale("textlin");
|
||||
|
||||
$graph->img->SetAngle(90);
|
||||
$graph->img->SetCenter(floor(270/2),floor(170/2));
|
||||
|
||||
$line = new LinePlot($ydata);
|
||||
$line->SetLegend('2002');
|
||||
$line->SetColor('darkred');
|
||||
$line->SetWeight(2);
|
||||
$graph->Add($line);
|
||||
|
||||
// Output graph
|
||||
$graph->Stroke();
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue