http://chart.apis.google.com/chart?cht=bvs&chs=200x125&chd=t:1,2,-10,40&chds=-20,50
add data scaling chds to your url and it works. I chose a -20 to 50 range since I'd made the 10 negative. On Mar 30, 9:45 am, Michael Smith <[email protected]> wrote: > Hi there, > > According to the post: > > http://google-code-updates.blogspot.com/2008/03/new-features-for-goog... > > last year google "Added support for negative numbers on bar charts" > > I can't get this to work. For example: > > http://chart.apis.google.com/chart?cht=bvs&chs=200x125&chd=t:1,2,10,40 > > does a bar chart, but if I make one of the numbers negative: > > http://chart.apis.google.com/chart?cht=bvs&chs=200x125&chd=t:1,2,-10,40 > > the bar just disappears. > > There's a 'workaround' to this problem here: > > http://www.kryogenix.org/days/2007/12/08/negative-numbers-in-the-goog... > > (written before the negative number support was supposedly included) > but it would obviously be preferable for this not to be necessary. > > Thanks > > Michael --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
