forked from halo-battle/game
Version 1.9g
This commit is contained in:
parent
d028822d0b
commit
4c9814a99c
800 changed files with 237325 additions and 1949 deletions
23
jpgraph/Examples/filledlineex03.php
Normal file
23
jpgraph/Examples/filledlineex03.php
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
include ("../jpgraph.php");
|
||||
include ("../jpgraph_line.php");
|
||||
|
||||
$datay = array(11,30,20,13,10,'x',16,12,'x',15,4,9);
|
||||
|
||||
// Setup the graph
|
||||
$graph = new Graph(400,250);
|
||||
$graph->SetScale('intlin');
|
||||
$graph->title->Set('Filled line with NULL values');
|
||||
//Make sure data starts from Zero whatever data we have
|
||||
$graph->yscale->SetAutoMin(0);
|
||||
|
||||
$p1 = new LinePlot($datay);
|
||||
$p1->SetFillColor('lightblue');
|
||||
$graph->Add($p1);
|
||||
|
||||
// Output line
|
||||
$graph->Stroke();
|
||||
|
||||
?>
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue