Hi Dan. You may have found a bug, but there is an easy workaround: http://is.gd/lWCi
Hope that helps. (If possible, please post long URLs as tinyurls or is.gd, like above. Mysteriously, the Google Groups software does not properly deal with long links.) -Julien http://charts4j.googlecode.com On Mar 5, 9:16 am, Dan <[email protected]> wrote: > There seems to be a bug with the positioning of X-axis labels for bar > charts when there is only 1 bar being displayed. > > This can be demonstrated by taking one of the labeled bar charts from > the API docs: > > http://chart.apis.google.com/chart?chxt=x,y,r,x&chxl=0:|Jan|July|Jan|July|Jan|2:|A|B|C|3:|2005||2006||2007&cht=bvs&chd=s:c9uDc&chco=76A4FB&chls=2.0&chs=200x125&chbh=r,0.3 > > and removing all but one of the data points (chd): > > http://chart.apis.google.com/chart?chxt=x,y,r,x&chxl=0:|Jan|July|Jan|July|Jan|2:|A|B|C|3:|2005||2006||2007&cht=bvs&chd=s:c&chco=76A4FB&chls=2.0&chs=200x125&chbh=r,0.3 > > In the second case, the X-axis label "Jan" is placed against the left > margin, rather than in the center of the bar. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
