I am dynammically pulling data from a database to create a chart. The
data in the bar graph happens to be very lop-sided. It is of years of
movies i have seen, with most of them being this year and last, the
data does not display well.

It worked at first, but as i added more entries into the database, the
bars got too high for the height of the graph!

see for yourself: http://www.movies.hdyar.com

here is the code that i pulled today, but it changes frequently.
essentually, it puts all of the movies years into an array, sorts
them, counts how much is per an item, and then uses that as the data,
with the year as the table data Its just very complicated PHP:

http://chart.apis.google.com/chart?chf=bg,s,65432100
&chco=592236,F2EFBD,D9D1A9,A68F72,735645
&chbh=a
&cht=bvs
&chd=t:5,22,6,2,1,1,1,2,2,1,1,1,1,1,1,1,1
&chl=2010|2009|2008|2007|2006|2004|2001|1999|1996|1991|1987|1986|1978|
1973|1972|1967|1960
&chs=620x200
&chxt=yd
&chxr=0,0,5,1
&chds=0,5


how can i set the scaling to be lower, so that the data displays
everything? making the largest bar graph value the highest and making
everything else proportional to that, perhaps.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en.

Reply via email to