KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/queenjbs/www/FusionChart/Code/PHPClass/BasicExample/ed.php
<?php

require_once('FusionCharts_Gen.php');


class Charts{

	function FusionCharts()
	{
	}
	
	function makeBar($val, $IDSuffix)
	{
		//---------- Creating First Chart ----------------------------------------------
		# Create FusionCharts PHP object
		$FC = new FusionCharts("Column3D","300","250", "myChartId".$IDSuffix);
		# set the relative path of the swf file
		$FC->setSWFPath("../../FusionCharts/");

		# Define chart attributes#  Set chart attributes
		$strParam="caption=Weekly Sales;subcaption=$val;xAxisName=Week;yAxisName=Revenue;numberPrefix=$";
		# Setting chart attributes
		$FC->setChartParams($strParam);

		# add chart values and category names for the First Chart
		$FC->addChartData("40800","Label=Week 1");
		$FC->addChartData("31400","Label=Week 2");
		$FC->addChartData("26700","Label=Week 3");
		$FC->addChartData("54400","Label=Week 4");
		//-------------------------------------------------------------------
		$FC->renderChart();
	}

}

















?>

Anon7 - 2021