I'm a little unsatisfied with the solution as well.  I experimented a
bit with passing different strings to the chl parameter.  The
underscore and carrot (^) symbols appear to work as subscript and
superscript operators.  I don't really see any reason why _- should
render slightly differently than a subscripted dash though, as in a_-
for example.

On Wed, Sep 29, 2010 at 5:50 AM, Martin Šedý <[email protected]> wrote:
> I hoped for some more explanation >>why< it behaves in this way.
> Just the programmer's curiosity.
> But thanks a lot, Elijah, the solution works!
>
> On 28 zář, 13:50, Elijah Gregory <[email protected]> wrote:
>> 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 
>> > athttp://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.
>
>

-- 
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