TreeMap Help

112 views
Skip to first unread message

API Developer

unread,
Nov 18, 2012, 2:04:57 AM11/18/12
to google-visua...@googlegroups.com
Good Morning,

I was wondering if there was any good way of displaying a negative size in the tree-map chart. I know it says that only positive values are supported, but I was wondering if you knew of a way to create striping on the negative boxes so we can display them by there absolute value and make the different boxes easy to distinguish. Also, is it possible to create a size legend? And if not, what alternatives would there be other than tooltips.

Thank you so much!

API Developer

unread,
Nov 18, 2012, 2:09:07 AM11/18/12
to google-visua...@googlegroups.com
Also, is logScale supported? I can build that in, but I wanted to make sure it wasn't beforehand.

Thank you!

asgallant

unread,
Nov 18, 2012, 3:16:23 AM11/18/12
to google-visua...@googlegroups.com
You could use the 4th column (color values) to discern positive from negative values, but you are limited to solid colors; you can't stripe.  There is no size legend available; neither is logScale supported.

API Developer

unread,
Nov 18, 2012, 11:14:46 AM11/18/12
to google-visua...@googlegroups.com
Thanks a lot asgallant!
Do you know if it's possible to display tooltips with the TreeMap? Also, can you display numeric ranges on the color-bar? 
If so, could you please show me an example of how to do them? Thank you!

API Developer

unread,
Nov 18, 2012, 11:26:33 AM11/18/12
to google-visua...@googlegroups.com
Also, are any roles supported? Can I create annotations, use certainty or interval?

Thanks again!

asgallant

unread,
Nov 18, 2012, 11:45:23 AM11/18/12
to google-visua...@googlegroups.com
There is no support in the API for custom tooltips in the TreeMaps, but I wrote a very rough and ugly hack that you can use as a basis for building your own tooltips (see this thread).  Also, to the best of my knowledge, there are no column roles supported by the TreeMap charts.

API Developer

unread,
Nov 18, 2012, 3:21:57 PM11/18/12
to google-visua...@googlegroups.com
Thanks again Asgallant!

Do you know if you can get numbers to show on the color-range? Also, what is the format for the tooltips currently supported by the treemaps?

asgallant

unread,
Nov 18, 2012, 8:26:43 PM11/18/12
to google-visua...@googlegroups.com
All the tooltips show in the base version of the TreeMaps is the name of the node.  You could change that by setting the formatted value of the node name column, but they're really not designed for conveying data.  I don't believe there is a way to add numbers or other labels to the color scale.

API Developer

unread,
Nov 18, 2012, 8:42:54 PM11/18/12
to google-visua...@googlegroups.com
Ok, thank you!
Reply all
Reply to author
Forward
0 new messages