This is fairly easy to do.  Set up a 'ready' event handler for the Table 
that gets the DataTable used by the Table, and then group on this data to 
get the average and geometric mean of the data.  See an example here: 
http://jsfiddle.net/asgallant/rEhUp/ 

If you don't want to show the charts, then you can drop all but one from 
the visualization, and hide the div that the last one resides in.  See 
example here: http://jsfiddle.net/asgallant/rEhUp/1/ 

On Wednesday, July 11, 2012 1:40:50 AM UTC-4, kp wrote:
>
> Hi all,
>
> This is the first time i am using Google charts.
> Please find the attached html file in which i am able to select age and 
> roolNumber ranges using 2 NumberRangeFilter sliders. And the graphs are 
> showing only the row values that fall within this range.
>
> Now i want to calculate the Average and geomean of Age values which fall 
> within the selected range and display them on the webpage instead of 
> drawing the chart for all individual rows.
>
> Thanks in advance.
>
>
>
>
>

-- 
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/-/4u3twqDW1OUJ.
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.

Reply via email to