You can't bind two visualizations together, you have to bind a control to
the table:
dashboard.bind([yearFilter], [chart, table]);
If you don't want to have the any controls working on the table, then you
shouldn't bind the table in the Dashboard - just put your DataTable in the
ChartWrapper's "dataTable" parameter and call the wrapper's #draw method.
On Monday, April 22, 2013 8:49:50 AM UTC-4, ultratorrent wrote:
>
> i have two CategoryFilter and a column chart based and data is based
> on json(php) format, i want add a table in my page...
> everything is fine , just cannot display table on my page
>
>
> var dashboard = new google.visualization.Dashboard(document.
> getElementById('dash_div'));
> dashboard.bind([yearFilter], [chart]);
> dashboard.bind([chart], [table]);
> dashboard.draw(data);
>
--
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.