Re: Pie chart values cannot be formatted

142 views
Skip to first unread message

asgallant

unread,
Sep 6, 2012, 2:11:18 PM9/6/12
to google-visua...@googlegroups.com
It works fine when I do that.  If you post your full js, I can take a look and see what else might be going on.

On Thursday, September 6, 2012 1:00:56 PM UTC-4, Marcelo Pham wrote:
Hi,
When building a pie chart which values are dollar amounts, I tried to format the value column so the tooltip text would show for example $1,000 instead of 1000.00.
Tried with this way:

data.addRows([
    ['Foo'{v: 1000f'$1,000'}],
    ['Bar'{v: 500f'$500'}],
    ['Bat'{v3f'$3'}]
]);

But corechart.I.js gives an error ... is this a limitation from Google Visualization API or am I doing something wrong?
Thanks!

M


Reply all
Reply to author
Forward
0 new messages