PHP Classes

File: demo.php

Recommend this page to a friend!
  Classes of Joseluis Laso   PHP Stats Graphs   demo.php   Download  
File: demo.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Stats Graphs
Generate SVG charts from sample data
Author: By
Last change:
Date: 6 years ago
Size: 272 bytes


Class file image Download

require_once __DIR__.'/vendor/autoload.php';

$settings = array(
'back_colour' => 'white',
'graph_title' => 'Start of Fibonacci series'
$graph = new SVGGraph(600, 450, $settings);

$graph->Values(0, 1, 1, 2, 3, 5, 8, 13, 21);