<?php
include "piechart.class.php";
$radius = 150;
$elementnames = array('Physics','Math','Chemistry');
$elements = array(80,65,73);
$colors = array('indigo','forestgreen','cadetblue');
$chart=new piechart(
$radius,
$elementnames,
$elements,
$colors
);
$chart->links = array('1.html','2.html','3.html');
$chart->GenerateHtmlCode(1);
?>
|