add all files

This commit is contained in:
Rucus
2026-02-17 09:29:34 -06:00
parent b8c8d67c67
commit 782d203799
21925 changed files with 2433086 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
require_once ('jpgraph/jpgraph.php');
require_once ('jpgraph/jpgraph_bar.php');
$data1y=array(47,80,40,116);
$graph = new Graph(400, 300, 'auto');
$graph->SetScale('textlin');
$theme_class = new AquaTheme;
$graph->SetTheme($theme_class);
// after setting theme, you can change details as you want
$graph->SetFrame(true, 'lightgray'); // set frame visible
$graph->xaxis->SetTickLabels(array('A','B','C','D')); // change xaxis lagels
$graph->title->Set("Theme Example"); // add title
// add barplot
$bplot = new BarPlot($data1y);
$graph->Add($bplot);
// you can change properties of the plot only after calling Add()
$bplot->SetWeight(0);
$bplot->SetFillGradient('#FFAAAA:0.7', '#FFAAAA:1.2', GRAD_VER);
$graph->Stroke();