You can handle that in the javascript, try something like this:

var count = 0;
for (var i = 0; i < data.getNumberOfRows(); i++) {
    if (data.getValue(i, <avg mark column index>) > 80) {
        count ++;
    }
}


On Sunday, May 26, 2013 4:45:27 AM UTC-4, ultratorrent wrote:
>
> hi,  i want to count the total number of values which is higher than 80 in 
> avg_mark column of the table, can u show to me some codes, im using json 
> format that retrieved from mysql database.... sorry, im not familiar with 
> php

-- 
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.


Reply via email to