It was mentioned in the treemap method that
--------------------------
Metrics will sum by default.
You can perform different calculations on the metrics using flare
query expressions.
--------------------------
However, from the API,
treeMap(dataArray:Array, levels:Array, metrics:Array,
rowFilter:Function = null):Tree
My questions are:
1) It is not clear to how we can assign expressions to each one of the
grouping metrics (for instance, I need to provide an average income
for avg_income in this example), would you please shred some light on
this?
2) To take this example a bit further, there are scenarios which
require the considerations of different fields before rolling up to
the parent level (we have to provide a weighted avg_income depending
on the number of people), can the flare query expression achieve this?
--
You received this message because you are subscribed to the Google Groups "juicekit" group.
To post to this group, send email to juic...@googlegroups.com.
To unsubscribe from this group, send email to juicekit+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/juicekit?hl=en.