Try adding an 's' modifier to allow commas. Ex: chm=N*s* On Wednesday, August 6, 2008 4:53:30 PM UTC-5, ben wrote:
> I need to format numbers as labels for a horizontal bar graph but I > can't figure out how to escape out commas in the label's field's > numbers because they are separated by commas anyway. > > For example: > > > http://chart.apis.google.com/chart?chs=400x200&chd=t:20.9,40.4&cht=bhs&chm=t2000,000000,0,0,12,1|t5230,000000,0,1,12,1&chxt=x,y&chxl=1:|December+12,+2005|December+13,+2005<http://chart.apis.google.com/chart?chs=400x200&chd=t:20.9,40.4&cht=bhs&chm=t2000,000000,0,0,12,1%7Ct5230,000000,0,1,12,1&chxt=x,y&chxl=1:%7CDecember+12,+2005%7CDecember+13,+2005> > > > Notice the section: > > &chm=t2000,000000,0,0,12,1|t5230,000000,0,1,12,1 > > I want to format: "2000" to be "2,000" and "5230" to be "5,230". > > How do I specify the values in the query text to escape the commas to > be retained? -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-chart-api/-/Eld1m00WxAIJ. 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.
