There is no easy way currently to let the user select the columns that you
want to display in a chart.  You would have to use something like the
CategoryFilter to select from a set of columns, and then use that selection
to setColumns().

There are examples of this kind of thing in earlier messages in this group
archives.  Maybe search on "CategoryFilter".

On Tue, Jan 24, 2017 at 6:01 PM, Ralph Emaurice <[email protected]>
wrote:

> Given your example, is there a simple way to turn:
> view.setColumns([1, 2, ...
> into
> view.setColumns([x_indx, y_indx, ...
> where x_indx, and y_indx (and later the size variable) are the selected
> indices of dropdown menu populated with the column headers?
>
> Then you'd have to find a way to refresh every time the menu was triggered.
>
> On Tuesday, January 24, 2017 at 1:30:44 PM UTC-5, Daniel LaLiberte wrote:
>>
>> The GUI for selecting columns of the data and everything else that the
>> MotionChart offers are what I referred to as the additional work required.
>> You can set these things up on top of the current API, with sufficient
>> code, but it will be a lot of work.
>>
>> On Tue, Jan 24, 2017 at 12:51 PM, Ralph Emaurice <[email protected]>
>> wrote:
>>
>>> Thanks so much. I guess I'm mostly referring to the really nice GUI for
>>> selecting axes from a large table and also to have variable dimensions. Any
>>> suggestions for that aspect?
>>>>
>>>> --
>>> 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/grou
>>> p/google-visualization-api.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/google-visualization-api/7b69f20c-cfe8-4381-bb82-3233c9
>>> 20743c%40googlegroups.com
>>> <https://groups.google.com/d/msgid/google-visualization-api/7b69f20c-cfe8-4381-bb82-3233c920743c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
>> [email protected]   5CC, Cambridge MA
>>
> --
> 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 google-visualization-api@
> googlegroups.com.
> 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/8495dd28-b557-4bf4-ba02-
> 85d3bc424fcf%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/8495dd28-b557-4bf4-ba02-85d3bc424fcf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, Cambridge MA

-- 
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/CAOtcSJPbEceR11QoxUis8KWVSdf2xSDNDbUM5GwRhVoYpabJ-A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to