PHP Classes
elePHPant
Icontem

File: example.phtml

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ricardo Costa  >  CChart  >  example.phtml  >  Download  
File: example.phtml
Role: Example script
Content type: text/plain
Description: Example with 3 lines
Class: CChart
Create a gif lines chart
Author: By
Last change:
Date: 12 years ago
Size: 245 bytes
 

Contents

Class file image Download
<?php
require("class.chart.phtml");

$g = new graph();

$one = Array(20, 40, 60, 80);
$g->addLine($one);

$two = Array(12, 15, 16, 120);
$g->addLine($two);

$three = Array(200, 150, 125, 21);
$g->addLine($three);


$g->show();
?>