PHP Classes

File: piegraph.php

Recommend this page to a friend!
  Classes of Diogo Resende   CGraph   piegraph.php   Download  
File: piegraph.php
Role: Example script
Content type: text/plain
Description: loads the definition of a pie chart graph
Class: CGraph
Draw pie charts, bar, line graphs from definitions
Author: By
Last change:
Date: 19 years ago
Size: 148 bytes
 

Contents

Class file image Download
<?php
 
include "../class.piegraph.php";

 
$graph = new Graph();
 
$graph->LoadGraph(realpath("./piegraph.def"));
 
$graph->DrawGraph();
?>