Tom Schaefer - 2008-06-12 18:23:20 - In reply to message 1 from Dennis Moore
Your message is a bit short breathed. I do not understand what you problem is. The graph renders data. I tested the code and it works. I do not know, what you are expecting. There are myriads of ways to represent data. Be kind and explain it more precisely.
Tom Schaefer - 2008-06-12 18:34:16 - In reply to message 1 from Dennis Moore
Sparkline is a name proposed by Edward Tufte for "small, high resolution graphics embedded in a context of words, numbers, images".
Tufte describes sparklines as "data-intense, design-simple, word-sized graphics". Whereas the typical chart is designed to show as much data as possible, and is set off from the flow of text (as in the box below), sparklines are intended to be succinct, memorable, and located where they are discussed. As an example: The Dow Jones Index Image:Sparkline_dowjones.svg for 7 February 2006 as a sparkline; it's also in the box below. Their use inline usually means that they are about the same height as the surrounding text.
<img width="189" height="23" border="0" src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Sparkline_dowjones.svg/189px-Sparkline_dowjones.svg.png" alt="Image:Sparkline_dowjones.svg"/>
Dennis Moore - 2008-06-12 19:44:36 - In reply to message 6 from Tom Schaefer
I am having problems whether it is a chart, axis, or sparkline subtype of a line chart. I cannot get the line chart to align with the values on the y axis or x axis. The following are my outputs by just changing the setSubtype method.
Chart: does not render chart.apis.google.com/chart?cht=l&c ...:|1995|1996|1997|1998|1999|2000|2001|2002|2003|2004|2005|2006|2007|&chxs=0,0000ff,12,1|1,ff0000,14,0&chg=5,5&chd=e:DLCSCeB4B3ByDNHGHeFtIOJIAA
Axis: renders but does not display anything chart.apis.google.com/chart?cht=lxy ...:|1995|1996|1997|1998|1999|2000|2001|2002|2003|2004|2005|2006|2007|&chxs=0,0000ff,12,1|1,ff0000,14,0&chg=5,5&chd=e:DLCSCeB4B3ByDNHGHeFtIOJIAA
Sparkline: renders and displays but not correctly chart.apis.google.com/chart?cht=ls& ...:|1995|1996|1997|1998|1999|2000|2001|2002|2003|2004|2005|2006|2007|&chxs=0,0000ff,12,1|1,ff0000,14,0&chg=5,5&chd=e:DLCSCeB4B3ByDNHGHeFtIOJIAA
I am having problems identifying the how the class methods correspond to the google chart api especially with addData and addEncoding.
I want to create a simple line chart the displays the data by year. Two things happen. The points on the chart do not correspond to the coordinates on the chart. I cannot get a basic lc to render. I am using PHP 5.2.4. I had the hardest time passing a dynamically generated array into the addData method.
Tom Schaefer - 2008-06-12 20:03:41 - In reply to message 7 from Dennis Moore
Just have a look at the big table
where the interactions are shown. My wrapper class
doesnot check these.
v0.2 will check against these properties for disallowing
render combinations that are not supported by Google Chart API.
For the moment I have no solution for your problem.
May be later.