<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Free Web Resources - Web Resources Depot &#187; Google Charts</title>
	<atom:link href="http://www.webresourcesdepot.com/tag/google-charts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webresourcesdepot.com</link>
	<description>Free Web Resources</description>
	<lastBuildDate>Fri, 19 Mar 2010 06:22:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>GoogChart: PHP Class For Google Charts API</title>
		<link>http://www.webresourcesdepot.com/googchart-php-class-for-google-charts-api/</link>
		<comments>http://www.webresourcesdepot.com/googchart-php-class-for-google-charts-api/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 07:24:32 +0000</pubDate>
		<dc:creator>Umut M.</dc:creator>
				<category><![CDATA[Charts]]></category>
		<category><![CDATA[Goodies]]></category>
		<category><![CDATA[MIT License]]></category>
		<category><![CDATA[Google Charts]]></category>
		<category><![CDATA[Php]]></category>

		<guid isPermaLink="false">http://www.webresourcesdepot.com/?p=600</guid>
		<description><![CDATA[Creating charts via Google Charts API is already simple.
GoogChart is a PHP class which makes it easier &#38; more flexible.

Here is an example:
After creating an array ($data in the example), this simple code is enough for generating a pie chart.
&#60;?php
$chart = new googChart();
$chart-&#62;setChartAttrs( array(
&#160;&#160;&#160; &#8216;type&#8217; =&#62; &#8216;pie&#8217;,
&#160;&#160;&#160; &#8216;data&#8217; =&#62; $data,
&#160;&#160;&#160; &#8217;size&#8217; =&#62; array( 300, 200 [...]]]></description>
			<content:encoded><![CDATA[<p>Creating charts via <strong>Google Charts API</strong> is already simple.</p>
<p><a href="http://luddep.se/notebook/2008/04/13/charts-php-and-google-charts-api/" target="_blank"><strong>GoogChart</strong></a> is a <strong>PHP class</strong> which makes it easier &amp; more flexible.</p>
<p><a href="http://luddep.se/notebook/2008/04/13/charts-php-and-google-charts-api/" target="_blank"><img height="211" width="479" src="http://www.webresourcesdepot.com/wp-content/uploads/image/google-charts-php-class.gif" alt="Google Charts PHP Class" /></a></p>
<h3>Here is an example:</h3>
<p>After creating an array ($data in the example), this simple code is enough for generating a pie chart.</p>
<p>&lt;?php<br />
$chart = new googChart();<br />
$chart-&gt;setChartAttrs( array(<br />
&nbsp;&nbsp;&nbsp; &#8216;type&#8217; =&gt; &#8216;pie&#8217;,<br />
&nbsp;&nbsp;&nbsp; &#8216;data&#8217; =&gt; $data,<br />
&nbsp;&nbsp;&nbsp; &#8217;size&#8217; =&gt; array( 300, 200 )<br />
&nbsp;&nbsp;&nbsp; ));<br />
echo $chart;<br />
?&gt;</p>
<p>Although <strong>GoogChart</strong> supports a serious amount of attributes &amp; types for <strong>Google Charts API</strong>, currently, not all of them.</p>
<p>There are also other similar PHP&nbsp;classes which you may want to check like:</p>
<ul>
<li><a href="http://code.google.com/p/googlechartseasyphpclass/" target="_blank">googlechartseasyphpclass</a></li>
<li><a href="http://code.google.com/p/gchartphp/" target="_blank">gchartphp</a></li>
<li><a target="_blank" href="http://www.malaiac.com/GphpChart/">GphpChart</a></li>
</ul>
<p><strong>Special Downloads:</strong><br />
<a href="http://www.webresourcesdepot.com/?download=jBasket" target="_blank">Ajaxed Add-To-Basket Scenarios With jQuery And PHP</a><br />
<a href="http://www.webresourcesdepot.com/?download=Free-Admin-Template" target="_blank">Free Admin Template For Web Applications</a><br />
<a href="http://www.webresourcesdepot.com/?download=jQuery-Dynamic-Drag-Drop" target="_blank">jQuery Dynamic Drag&#8217;n Drop</a><br />
<a href="http://www.webresourcesdepot.com/?download=sTwitter-1-0" target="_blank">ScheduledTweets</a></p>
<p><strong>Advertisements:</strong><br />
<a href="http://www.sslmatic.com" target="_blank">SSLmatic &#8211; Cheap SSL Certificates (from $19.99/year)</a><br />
<a href="http://twitter.com/umutm" target="_blank">Follow WebResourcesDepot At Twitter And Get More Resources!</a></p>

	Tags: <a href="http://www.webresourcesdepot.com/tag/google-charts/" title="Google Charts" rel="tag">Google Charts</a>, <a href="http://www.webresourcesdepot.com/tag/php/" title="Php" rel="tag">Php</a><br />

	<h4>Related posts</h4>
	<ul class='st-related-posts'>
	<li><a href="http://www.webresourcesdepot.com/zimplit-easiest-cms-for-simple-websites/" title="Zimplit: Easiest CMS For Simple Websites (August 29, 2008)">Zimplit: Easiest CMS For Simple Websites</a></li>
	<li><a href="http://www.webresourcesdepot.com/wiki-like-project-management-tool-streber/" title="Wiki-Like Project Management Tool: Streber (May 26, 2008)">Wiki-Like Project Management Tool: Streber</a></li>
	<li><a href="http://www.webresourcesdepot.com/web-based-php-ftp-application-phpwebftp/" title="Web-Based PHP FTP Application: phpWebFtp (June 25, 2008)">Web-Based PHP FTP Application: phpWebFtp</a></li>
	<li><a href="http://www.webresourcesdepot.com/web-based-mysql-management-with-only-1-file-adminer/" title="Web-Based MySQL Management With Only 1 File: Adminer (August 17, 2009)">Web-Based MySQL Management With Only 1 File: Adminer</a></li>
	<li><a href="http://www.webresourcesdepot.com/web-server-that-runs-on-cd-rom-server2go/" title="Web Server That Runs On CD-Rom: Server2Go (November 29, 2008)">Web Server That Runs On CD-Rom: Server2Go</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.webresourcesdepot.com/googchart-php-class-for-google-charts-api/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 8/21 queries in 1.032 seconds using disk

Served from: www.webresourcesdepot.com @ 2010-03-20 04:56:11 -->