One Hat Cyber Team
Your IP :
216.73.216.14
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
nosc
/
public_html
/
jpgraph
/
Examples
/
View File Name :
theme_example.php
<?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();