Peter,

Your second chart is better, but still not correct. Read the entire
"Data Scaling and Axis Scaling" section of the documentation @
http://code.google.com/apis/chart/docs/data_formats.html#scaled_values

Key points:
- Data is scaled to fit the format range: you're using the basic text
format -- Format range: 0—100
- Axis label range is calculated independently: you modified the y-
axis label range to fit your data -- this is not ideal

The fix is to use use text format with scaling:
http://code.google.com/apis/chart/docs/data_formats.html#data_scaling

Here's a chart with the y-axis ranging from 0 to 30 (chxr=1,0,30) and
text scaling specified to match (chds=0,30):
http://chart.apis.google.com/chart?cht=bvo&chbh=20,10,0&chs=400x200&chxt=x,y&chd=t:5,10,23,2&chxl=0:|25|30|35|40&chxr=1,0,30&chds=0,30

Hope that helps,
Keith

-- 
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