Hi Andy,

There are a couple things in your chart that are working against you.

First off, unless you specify otherwise the API draws all data as if
both the X and Y axes ranged from 0 to 100. With your original URL the
API is drawing your first value (78) at the correct spot along the Y
axes according to a 0-100 scale. It looks like you want the Y axis to
range from 0 to 300 (per your CHXL parameter), but you *also* need to
tell Google to scale all your data (so 78/100 becomes, in essence,
234/300). It won't do this automatically and it's easily one of the
most overlooked items. You fix this by adding the CHDS parameter -
"&chds=0,300".

In addition, the CHXL parameter takes your axis labels and spaces them
equally across the axis. In your original URL you'll have to remove
the 10 and 20 (see first example below) or add extra spacing (second
example) to get things to look right.

Check these out:
- http://tinyurl.com/d3jwsl
- http://tinyurl.com/bpgo8x

Good luck,
K

On Feb 10, 12:19 pm, Andy <[email protected]> wrote:
> Here is the chart but the data does not match what is displayed on the
> charthttp://chart.apis.google.com/chart?cht=lc&chs=300x225&chd=t:78,8,66,3...0|10|20|50|100|150|200|250|300|0:|Jan|Feb-1|Feb-15|Mar-1|Mar-15|Apr-1
>
> All I want is for the data 78,8,66,3,90  to match the numbers on the
> left. How can I do this? Thanks
--~--~---------~--~----~------------~-------~--~----~
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