>>> Is there a way to format the values in a geomap legend?

109 views
Skip to first unread message

Owen

unread,
May 11, 2012, 8:04:27 PM5/11/12
to google-visua...@googlegroups.com
I found the reference to formatting values in the data table::

var formatter = new google.visualization.NumberFormat(
            {prefix: '$', negativeColor: 'red', negativeParens: true, fractionDigits: 0});
formatter.format(data, 1); // Apply formatter to second column

But this is not used by the legend.  Tried searching for this in the group and on the net.

Thanks,

Owen

Owen

unread,
May 12, 2012, 11:09:16 AM5/12/12
to google-visua...@googlegroups.com
Here is the sample:

asgallant

unread,
May 14, 2012, 9:13:49 AM5/14/12
to google-visua...@googlegroups.com
I don't think the GeoMap has a legend formatting option.  The GeoCharts do have it, though.
Reply all
Reply to author
Forward
0 new messages