This seems more like a hack than anything, but sending a string containing _- (underscore minus) with the chl parameter appears to render a minus all by it's lonesome.
http://chart.apis.google.com/chart?cht=tx&chl=_- Which is strange, since you get a bad syntax error if you try rendering the underscore by itself, or in front of a plus sign. On Mon, Sep 27, 2010 at 12:18 PM, Martin Šedý <[email protected]> wrote: > Hello, > > I just wanted to ask if there is any way to render a formula > containing a minus sign. Just a minus sign, nothing else. I searched > the FAQ and forum, but the closest thing I found was a plus minus > sign. > > This works not: > http://chart.apis.google.com/chart?cht=tx&chl=+ > > Neither this: > http://chart.apis.google.com/chart?cht=tx&chl=- > > This works well: > http://chart.apis.google.com/chart?cht=tx&chl=%2B > > I see, there is replacement text for a plus sign. What is the right > replacement text for minus sign? I searched the FAQ, forum and even > web (for TeX-related sources) and found none. Does anyone know? > > Thanks, > Martin [256218] > > -- > 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. > > -- 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.
