Regarding the last question, yes, you have to pull the chart out of the 
wrapper via getChart() (see the ChartWrapper 
docs<http://code.google.com/apis/chart/interactive/docs/reference.html#chartwrapperobject>
): 

tablewrapped.getChart().getSelection()

Regarding the former questions, I see in your code that you are already 
seeding the Dashboard with a DataView instance, so as you already figured 
out, you can populate a Dashboard with a dataview.

The only things I note are:
- your tablewrapped has a 'View' option which is not needed. First, it 
is misspelled (it should be lowercase). Second, giving the DataView directly 
to the dashboard should be enough in your case.
- your showHideFld() function, which I understand is the one triggered 
whenever I add/remove a column from the view should trigger a redraw of the 
entire dashboard instead of just the table (otherwise the stringfilter won't 
be aware of the new columns).

Let me know if this helps,
/R.

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