<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Google Charts API &#8211; using PHP</title>
	<atom:link href="http://james.cridland.net/blog/google-charts-api-using-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://james.cridland.net/blog/google-charts-api-using-php/</link>
	<description>Radio futurologist and beer drinker</description>
	<lastBuildDate>Mon, 21 May 2012 11:08:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Toby</title>
		<link>http://james.cridland.net/blog/google-charts-api-using-php/#comment-850</link>
		<dc:creator>Toby</dc:creator>
		<pubDate>Sun, 20 Jan 2008 12:44:55 +0000</pubDate>
		<guid isPermaLink="false">http://james.cridland.net/blog/2007/12/06/google-charts-api-using-php/#comment-850</guid>
		<description>Thanks for this James - being close to newbie status, this just what I was looking for. Cheers!</description>
		<content:encoded><![CDATA[<p>Thanks for this James &#8211; being close to newbie status, this just what I was looking for. Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aneesh Kulkarni</title>
		<link>http://james.cridland.net/blog/google-charts-api-using-php/#comment-849</link>
		<dc:creator>Aneesh Kulkarni</dc:creator>
		<pubDate>Sat, 12 Jan 2008 14:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://james.cridland.net/blog/2007/12/06/google-charts-api-using-php/#comment-849</guid>
		<description>Thanks, this is great!  Works perfectly.

One small note: The last line (return $chartData.&quot;&amp;chxt=y&amp;chxl=0:&#124;0&#124;&quot;.$maxValue; -- which puts a scale on the axis) assumes a vertical orientation.  Anyone interested in a graph with horizontal orientation (ie bhs or bhg) should write chxt=x instead of chxt=y to get the desired graph.</description>
		<content:encoded><![CDATA[<p>Thanks, this is great!  Works perfectly.</p>
<p>One small note: The last line (return $chartData.&#8221;&amp;chxt=y&amp;chxl=0:|0|&#8221;.$maxValue; &#8212; which puts a scale on the axis) assumes a vertical orientation.  Anyone interested in a graph with horizontal orientation (ie bhs or bhg) should write chxt=x instead of chxt=y to get the desired graph.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kev</title>
		<link>http://james.cridland.net/blog/google-charts-api-using-php/#comment-848</link>
		<dc:creator>Kev</dc:creator>
		<pubDate>Fri, 11 Jan 2008 16:51:25 +0000</pubDate>
		<guid isPermaLink="false">http://james.cridland.net/blog/2007/12/06/google-charts-api-using-php/#comment-848</guid>
		<description>Hi James

Nice work!

Can I just ask - I&#039;ve used your code in a dynamcially generated HTML table (now with chart!) but I&#039;m having difficulties loading my string into the array of your code i.e.

$test_data=array(0.5,6,12,17,2,0.3,9);

becomes

$string1 =&quot;0.5,6,12,17,2,0.3,9&quot;
$test_data=array($string1);

 My string is being created at the same time as the table and echoing the data gives a result of 0.5,6,12,17,2,0.3,9 and the max value is also 0.5,6,12,17,2,0.3,9 but no data??

 Any suggestions?

Thanks

Kev</description>
		<content:encoded><![CDATA[<p>Hi James</p>
<p>Nice work!</p>
<p>Can I just ask &#8211; I&#8217;ve used your code in a dynamcially generated HTML table (now with chart!) but I&#8217;m having difficulties loading my string into the array of your code i.e.</p>
<p>$test_data=array(0.5,6,12,17,2,0.3,9);</p>
<p>becomes</p>
<p>$string1 =&#8221;0.5,6,12,17,2,0.3,9&#8243;<br />
$test_data=array($string1);</p>
<p> My string is being created at the same time as the table and echoing the data gives a result of 0.5,6,12,17,2,0.3,9 and the max value is also 0.5,6,12,17,2,0.3,9 but no data??</p>
<p> Any suggestions?</p>
<p>Thanks</p>
<p>Kev</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William T</title>
		<link>http://james.cridland.net/blog/google-charts-api-using-php/#comment-847</link>
		<dc:creator>William T</dc:creator>
		<pubDate>Tue, 11 Dec 2007 20:42:35 +0000</pubDate>
		<guid isPermaLink="false">http://james.cridland.net/blog/2007/12/06/google-charts-api-using-php/#comment-847</guid>
		<description>(or, I meant to add, might they slap on a large Copyright Google notice or start running inline text ads based on the chart-data?)

The charts *are* very pretty though..</description>
		<content:encoded><![CDATA[<p>(or, I meant to add, might they slap on a large Copyright Google notice or start running inline text ads based on the chart-data?)</p>
<p>The charts *are* very pretty though..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: William T</title>
		<link>http://james.cridland.net/blog/google-charts-api-using-php/#comment-846</link>
		<dc:creator>William T</dc:creator>
		<pubDate>Tue, 11 Dec 2007 20:05:50 +0000</pubDate>
		<guid isPermaLink="false">http://james.cridland.net/blog/2007/12/06/google-charts-api-using-php/#comment-846</guid>
		<description>The charts are *very* elegant (especially the pie charts and venn diagrams) - however, maybe its just me, how do we have confidence that Google won&#039;t withdraw it or start to charge for it or it&#039;ll suddenly get very slow or go away altogether?

Yes, everyone&#039;s using Google Maps these days, but I just wonder how many &quot;large&quot; or &quot;critical&quot; sites would be prepared to risk this (there&#039;s a 50,000 queries per day limit.)

Sorry to be boring.</description>
		<content:encoded><![CDATA[<p>The charts are *very* elegant (especially the pie charts and venn diagrams) &#8211; however, maybe its just me, how do we have confidence that Google won&#8217;t withdraw it or start to charge for it or it&#8217;ll suddenly get very slow or go away altogether?</p>
<p>Yes, everyone&#8217;s using Google Maps these days, but I just wonder how many &#8220;large&#8221; or &#8220;critical&#8221; sites would be prepared to risk this (there&#8217;s a 50,000 queries per day limit.)</p>
<p>Sorry to be boring.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olly</title>
		<link>http://james.cridland.net/blog/google-charts-api-using-php/#comment-845</link>
		<dc:creator>Olly</dc:creator>
		<pubDate>Sat, 08 Dec 2007 00:27:32 +0000</pubDate>
		<guid isPermaLink="false">http://james.cridland.net/blog/2007/12/06/google-charts-api-using-php/#comment-845</guid>
		<description>Have you seen Swivel?

I had a very basic look/play with it, don&#039;t know whether it can help but looks quite good. http://www.swivel.com/

Olly</description>
		<content:encoded><![CDATA[<p>Have you seen Swivel?</p>
<p>I had a very basic look/play with it, don&#8217;t know whether it can help but looks quite good. <a href="http://www.swivel.com/" rel="nofollow">http://www.swivel.com/</a></p>
<p>Olly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lexalytics Development Blog &#187; Blog Archive &#187; Google Charts API</title>
		<link>http://james.cridland.net/blog/google-charts-api-using-php/#comment-844</link>
		<dc:creator>Lexalytics Development Blog &#187; Blog Archive &#187; Google Charts API</dc:creator>
		<pubDate>Fri, 07 Dec 2007 11:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://james.cridland.net/blog/2007/12/06/google-charts-api-using-php/#comment-844</guid>
		<description>[...] via the BBC Backstage mailing list (and James Cridlands personal blog) that Google have released a simple charting [...] </description>
		<content:encoded><![CDATA[<p>[...] via the BBC Backstage mailing list (and James Cridlands personal blog) that Google have released a simple charting [...] </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jose</title>
		<link>http://james.cridland.net/blog/google-charts-api-using-php/#comment-843</link>
		<dc:creator>Jose</dc:creator>
		<pubDate>Fri, 07 Dec 2007 02:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://james.cridland.net/blog/2007/12/06/google-charts-api-using-php/#comment-843</guid>
		<description>Hello

Thanks for the code!

What I don&#039;t like about Google chart API is the fact axis don&#039;t have nothing to do with values.

Thus, in order for a simple x,y graph to make sense, you have to find the percentage of all your values and then plot them. I mean, if your max value is 150, you must make 150=100% and then calculate all values below it in terms of percentage. Your laber on the x axe will be 150, but your value will be 100%.

I wonder who will be the first to do a PHP class to do this... ;)

Regards,
Jose

Also: it does not work on forums with the [IMG] tag...
It would be usefull for the PHP class to load the url as binary and outputs it as .png, so that it can be recognized everywhere.</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>Thanks for the code!</p>
<p>What I don&#8217;t like about Google chart API is the fact axis don&#8217;t have nothing to do with values.</p>
<p>Thus, in order for a simple x,y graph to make sense, you have to find the percentage of all your values and then plot them. I mean, if your max value is 150, you must make 150=100% and then calculate all values below it in terms of percentage. Your laber on the x axe will be 150, but your value will be 100%.</p>
<p>I wonder who will be the first to do a PHP class to do this&#8230; <img src='http://james.cridland.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Regards,<br />
Jose</p>
<p>Also: it does not work on forums with the [IMG] tag&#8230;<br />
It would be usefull for the PHP class to load the url as binary and outputs it as .png, so that it can be recognized everywhere.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Stevens</title>
		<link>http://james.cridland.net/blog/google-charts-api-using-php/#comment-842</link>
		<dc:creator>Chris Stevens</dc:creator>
		<pubDate>Fri, 07 Dec 2007 02:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://james.cridland.net/blog/2007/12/06/google-charts-api-using-php/#comment-842</guid>
		<description>Off topic... Is it me, or do you have a version of this blog optimised for the iPhone/ipod? It looked very neat on mine over the weekend!</description>
		<content:encoded><![CDATA[<p>Off topic&#8230; Is it me, or do you have a version of this blog optimised for the iPhone/ipod? It looked very neat on mine over the weekend!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Cridland</title>
		<link>http://james.cridland.net/blog/google-charts-api-using-php/#comment-841</link>
		<dc:creator>James Cridland</dc:creator>
		<pubDate>Fri, 07 Dec 2007 00:16:53 +0000</pubDate>
		<guid isPermaLink="false">http://james.cridland.net/blog/2007/12/06/google-charts-api-using-php/#comment-841</guid>
		<description>Agreed, Barry - I&#039;ve changed the code accordingly. (Didn&#039;t know about max().)</description>
		<content:encoded><![CDATA[<p>Agreed, Barry &#8211; I&#8217;ve changed the code accordingly. (Didn&#8217;t know about max().)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

