Your IP : 3.15.10.104
<?php
/**
* Charts 4 PHP
*
* @author Shani <support@chartphp.com> - http://www.chartphp.com
* @version 1.2.1
* @license: see license.txt included in package
*/
include("../../lib/inc/chartphp_dist.php");
$p = new chartphp();
$st = '320';
$p->data = array(array(array("2010/10",$st),array("2011/01",238.75),array("2011/02",95.50),array("2011/03",300.50),array("2011/04",286.80),array("2011/05",400)));
$p->chart_type = "bar";
// Common Options
$p->title = "Bar Chart";
$p->xlabel = "My X Axis";
$p->ylabel = "My Y Axis";
$out = $p->render('c1');
?>
<!DOCTYPE html>
<html>
<head>
<script src="../../lib/js/jquery.min.js"></script>
<script src="../../lib/js/chartphp.js"></script>
<link rel="stylesheet" href="../../lib/js/chartphp.css">
</head>
<body>
<div style="width:40%; min-width:450px;">
<?php echo $out; ?>
</div>
</body>
</html>