<?xml version="1.0" encoding="iso-8859-1"?><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: How to plot dates in Google Charts API</title>
	<atom:link href="http://www.tomfotherby.com/blog/index.php/2009/01/how-to-plot-dates-in-google-charts-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tomfotherby.com/blog/index.php/2009/01/how-to-plot-dates-in-google-charts-api/</link>
	<description>My little place in cyberspace</description>
	<lastBuildDate>Thu, 22 Jul 2010 05:57:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Hansinator</title>
		<link>http://www.tomfotherby.com/blog/index.php/2009/01/how-to-plot-dates-in-google-charts-api/comment-page-1/#comment-7762</link>
		<dc:creator>Hansinator</dc:creator>
		<pubDate>Fri, 30 Oct 2009 23:32:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomfotherby.com/blog/?p=742#comment-7762</guid>
		<description>Hi. I am running a personal training blog/diary and your WP plugin was very valuable and interesting. I am tracking a graph over &quot;records&quot;, that is, the time i use on different routes. Unfortunately, the plugin stalls when i enter too many dates and the site wont even show up. Any smart solutions?</description>
		<content:encoded><![CDATA[<p>Hi. I am running a personal training blog/diary and your WP plugin was very valuable and interesting. I am tracking a graph over &#8220;records&#8221;, that is, the time i use on different routes. Unfortunately, the plugin stalls when i enter too many dates and the site wont even show up. Any smart solutions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Fitzgerald</title>
		<link>http://www.tomfotherby.com/blog/index.php/2009/01/how-to-plot-dates-in-google-charts-api/comment-page-1/#comment-6821</link>
		<dc:creator>Greg Fitzgerald</dc:creator>
		<pubDate>Sun, 17 May 2009 21:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomfotherby.com/blog/?p=742#comment-6821</guid>
		<description>I have another solution for charting dates. The problem with caluclating differences from the first date, is it works fine when the data points are evenly spaced time intervals and tehre is no gaps in the data, otherwise the data points do not line up with the labels.

This solution may not work under all scenarios.
Instead, know the range of dates you are plotting, and put in a fixed number of labels. and base the data point value on the nuber of pixels per label. e.g.
I&#039;m charting 24 hours from midnight through to midnight, therefore i have 25 labels, i.e. 00:00 to 24:00, showing hourly intervals. Each graph will always have 25 labels and 24 spaces between them as google evenly spaces the lables along the axis.
I make the axis 1000 pixels long, therefore each space btween the labels is 1000/24 pixels long.
The first data point 00:00 is plotted as zero pixels across, the last data point 24:00 is = (1000/24) * 24 pixels across. 
general formula is for each data point extract the number of hours and minutes from each timevalue associated with that data point and worked out the axis value with
(hrs * 1000/24) + (mins/60 * 1000/24).</description>
		<content:encoded><![CDATA[<p>I have another solution for charting dates. The problem with caluclating differences from the first date, is it works fine when the data points are evenly spaced time intervals and tehre is no gaps in the data, otherwise the data points do not line up with the labels.</p>
<p>This solution may not work under all scenarios.<br />
Instead, know the range of dates you are plotting, and put in a fixed number of labels. and base the data point value on the nuber of pixels per label. e.g.<br />
I&#8217;m charting 24 hours from midnight through to midnight, therefore i have 25 labels, i.e. 00:00 to 24:00, showing hourly intervals. Each graph will always have 25 labels and 24 spaces between them as google evenly spaces the lables along the axis.<br />
I make the axis 1000 pixels long, therefore each space btween the labels is 1000/24 pixels long.<br />
The first data point 00:00 is plotted as zero pixels across, the last data point 24:00 is = (1000/24) * 24 pixels across.<br />
general formula is for each data point extract the number of hours and minutes from each timevalue associated with that data point and worked out the axis value with<br />
(hrs * 1000/24) + (mins/60 * 1000/24).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danysworld</title>
		<link>http://www.tomfotherby.com/blog/index.php/2009/01/how-to-plot-dates-in-google-charts-api/comment-page-1/#comment-6646</link>
		<dc:creator>Danysworld</dc:creator>
		<pubDate>Thu, 30 Apr 2009 10:03:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomfotherby.com/blog/?p=742#comment-6646</guid>
		<description>Hi!
I saw your plugin but I can&#039;t get out of it :( It does not work :( How can I have (like you) a list with &quot;weight(kgs)&quot;. In that list, I only have &quot;views&quot; and it does something weird :( If it is possible, I can modify the code but I need some help to do it in the right place :)

Hope to hear from you soon because I would so much use you plugin in my blog :)
Take Care</description>
		<content:encoded><![CDATA[<p>Hi!<br />
I saw your plugin but I can&#8217;t get out of it <img src='http://www.tomfotherby.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  It does not work <img src='http://www.tomfotherby.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  How can I have (like you) a list with &#8220;weight(kgs)&#8221;. In that list, I only have &#8220;views&#8221; and it does something weird <img src='http://www.tomfotherby.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  If it is possible, I can modify the code but I need some help to do it in the right place <img src='http://www.tomfotherby.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hope to hear from you soon because I would so much use you plugin in my blog <img src='http://www.tomfotherby.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Take Care</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KarlP</title>
		<link>http://www.tomfotherby.com/blog/index.php/2009/01/how-to-plot-dates-in-google-charts-api/comment-page-1/#comment-5399</link>
		<dc:creator>KarlP</dc:creator>
		<pubDate>Fri, 13 Mar 2009 19:31:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.tomfotherby.com/blog/?p=742#comment-5399</guid>
		<description>Having some similar issues with this myself, and while you&#039;ve got the values plotted along the x-axis correctly, have you noticed that your labels are not?  Per the google api, they are placed evenly from start to finish.

It&#039;s actually more complicated than you&#039;d think, as you have to create all the intermediary values for the x-axis, making sure that there are corresponding blanks in the y-data, but still having labels.

I&#039;d post my solution, but I&#039;m still working on it unfortunately :(</description>
		<content:encoded><![CDATA[<p>Having some similar issues with this myself, and while you&#8217;ve got the values plotted along the x-axis correctly, have you noticed that your labels are not?  Per the google api, they are placed evenly from start to finish.</p>
<p>It&#8217;s actually more complicated than you&#8217;d think, as you have to create all the intermediary values for the x-axis, making sure that there are corresponding blanks in the y-data, but still having labels.</p>
<p>I&#8217;d post my solution, but I&#8217;m still working on it unfortunately <img src='http://www.tomfotherby.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
