|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/www/FusionChart/Code/PHPClass/BasicExample/ |
Upload File : |
<?php
require_once('ed.php');
$oChart = new Charts();
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Enterprise Dashboard</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script src="../../FusionCharts/FusionCharts.js" type="text/javascript"></script>
<style type="text/css">
body
{
background-color: #FFFF99;
}
#charts
{
display: block;
width: 400px;
background-color: #ffaaaa;
margin: 10px auto;
}
#charts div
{
display: inline-block;
}
</style>
</head>
<body>
<div id='charts'>
<?php
$oChart->makeBar(91, 0);
?>
</div>
<div id='charts'>
<?php
$oChart->makeBar(91, 1);
?>
</div>
</body>
</html>