We don't support setting the color for non-leaf nodes. The two options for aggregation of these nodes are weighted and un-weighted average.
One thing I would recommend is not doing aggregation at all, and using the recursive nature of Treemap by setting maxPostDepth higher so that you can see all the nodes together, but ultimately grouped by the non-leaf nodes. Here's your example: http://jsfiddle.net/2ThM2/3/ Even though you have the extra sub layer, the visualization is rendered almost the same (modulo layout, but the nodes are the same size, visually). -Tom *NOTE: it is using an option which is undocumented right now because it is only in 1.1 (hintOpacity). hintOpacity turns off the "hint" layer which applies the color of the "aggregation."* Thomas Rybka | Software Engineer | [email protected] | GViz On Mon, Mar 18, 2013 at 10:38 AM, asgallant <[email protected]>wrote: > No, the API doesn't support that. You can make a feature request for it > here<http://code.google.com/p/google-visualization-api-issues/issues/list> > . > > > On Monday, March 18, 2013 10:04:40 AM UTC-4, Mark Huggins wrote: >> >> Is there any way I can tell the tree map to just use the values I specify >> for colors for non leaf nodes and not have it calculate based on children? >> >> -Mark >> > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to > [email protected]. > Visit this group at > http://groups.google.com/group/google-visualization-api?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-visualization-api?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
