I have an underlying DataTable with discrete x-axis categories and multiple 
series.  I'm using DataViews on top of that to generate column charts, so 
that users can select which series to display (including calculated series 
that may aggregate multiple source series in various ways).  I want to 
provide the users with multiple sort options, including some based on 
calculated values, such as the maximum or minimum over all user-selected 
series, or the difference between the maximum and minimum of user-selected 
series.  I can create a calculated column in my view that generates the 
values the user wants to sort on (though I wouldn't want to display such a 
column, so there doesn't seem to be an appropriate role for it), but I 
can't figure out how to sort on it -- getSortedRows seems to take only 
column indices from the base table, not calculated columns.  Is there a way 
to do what I want?  If not, can I put in a feature request for calculated 
sort columns?

Thanks,
Suzanne

-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/9963c19d-7a77-4b50-997b-dec59d13aaa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to