Yes, like I said, there is nothing that will do this for you. You need to implement your own method of doing this. I built a test case that works for navigating down the tree, though moving back up doesn't work yet: http://jsfiddle.net/asgallant/NpsUh/
If your tree has more depth layers, you will have to do more grouping to get what you want. On Tuesday, September 4, 2012 4:04:15 AM UTC-4, TUwel wrote: > > The problem i have sum values in my TreeMap and for the color scale he > takes the average, but i want to have the sum not the average in my colour > values > > > Am Donnerstag, 30. August 2012 18:26:43 UTC+2 schrieb asgallant: > >> 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 view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/VfS4ctHdeEAJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
