Login   Register  
PHP Classes
elePHPant
Icontem

File: example

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of carlos  >  Stacked Bar Chart Class  >  example  >  Download  
File: example
Role: Example script
Content type: text/plain
Description: example
Class: Stacked Bar Chart Class
Generate stacked bar chart images from data
Author: By
Last change:
Date: 9 years ago
Size: 509 bytes
 

Contents

Class file image Download
<?php
include 'stacked_bar_classes.php';
$chart = array ( array ("""2001""2002""2003" ), array ( "Serie 1"1004525), 
                        array ( 
"Serie 2"806535 ), array ( "Serie C"553080 ), array ( "Serie D"553080 ) );

    
$tittle "CHART TITTLE";
    
$serie = array ( "0","FFFF00""FF0000""2F97FF""564546""784e3a""677b75" );
    
$width 700;
    
$height 400;
    
$hex_color 'ffffff';
    
$bg = new grafico($tittle,$width,$height,$hex_color,$chart,$serie);
    
$bg->draw_graph();    

?>