Doing that isn't supported in the API, but you can use the code example here: http://jsfiddle.net/asgallant/NpsUh/7/ as a starting point. This is designed to change the way the node values are calculated, but you can adapt it to use unique color values for each node instead of changing the way the nodes are calculated.
On Wednesday, September 18, 2013 5:52:17 AM UTC-4, alice moon wrote: > > Hi all, > How can I set the color value for the Group Node, I don't want the Group > Node color value have any relationship with their Children Node color > values. > > Thanks, > Alice > > On Friday, August 31, 2012 12:26:43 AM UTC+8, asgallant wrote: >> >> There is no setting that will do this for you. You should be able to >> fake it by using >> DataViews<https://developers.google.com/chart/interactive/docs/reference#DataView>and >> grouping >> data<https://developers.google.com/chart/interactive/docs/reference#google_visualization_data_group>, >> >> changing the criteria used to build them in "select" and "rollup" event >> handlers. >> >> On Thursday, August 30, 2012 10:15:18 AM UTC-4, TUwel wrote: >>> >>> Hi, i have a question in term of TreeMaps with GoogleChart. Example: >>> https://developers.google.com/chart/interactive/docs/gallery/treemap >>> >>> I want to adjust the node vale, that he takes the sum not the average of >>> the childs . >>> >>> For Example: >>> Min Scale = -52 >>> Max Scale = 63 >>> Europe: -11,-2,-13,4,-5 = -27 >>> but he takes the value -27/5 = -5,4 >>> >>> I want that he takes -27 not the average, can someone help me? >>> >>> best regards >>> >> -- 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 google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-visualization-api. For more options, visit https://groups.google.com/groups/opt_out.