Lo,

I'm trying to programmatically change the view of a ChartRangeFilter, with 
no success.

I created an example here: http://jsfiddle.net/jNVzF/11/. 

In this example, the data contains two columns. In the initial view, the 
ChartRangeFilter shows one column, by specifying chartView: {columns:[0,1]} 
within the ControlWrapper at design time. Now I'd like to add the second 
column at runtime by pressing the button. I tried both 
control.setState({ui:{chartView:{columns:[0,1,2]}}}) and 
control.setOption({ui:{chartView:{columns:[0,1,2]}}}) but both didn't work.

What is the proper syntax to do that?

Tnx,

Marc.

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to