Hi Jomaira I'm not sure if, by "dashboard", you mean one that you create with google.visualization.Dashboard(), or just a collection of multiple charts you want to include in one web page. A single Dashboard() can only be driven by one datatable. But each chart in the Dashboard, which is wrapped in a ChartWrapper, can have its own 'view' option that lets you specify which columns of the data to view in that chart. So perhaps you could generate one datatable that merges the results of several separate queries, or perhaps that is not worth the trouble.
You can, however, just make separate charts, perhaps in separate Dashboards, each with their own separate datatables, or using drawChart(), provide separate queries. You should only have one load of the jsapi library, and one google.load() call. We'd need to see more of your code to tell if there is something going wrong with what you are trying. Hope the helps. dan On Mon, Dec 23, 2013 at 11:13 AM, Jomaira Hiffens <jomairahiff...@gmail.com>wrote: > Hi everyone. > > Im working on a visual design project design for school. > I want to make a dashboard but each chart has his own query. > > How do I combine them into one dashboard ? > > var chart7 = google.visualization.drawChart({ > "containerId": "chart_zoost", > "dataSourceUrl": 'https://www.google.com/fusiontables/gvizdata?tq= > ', > "query":"SELECT 'veiligheidsgevoel' , 'aangiften', 'bevolking' > FROM 1JlGwMzm-gUq1b51zkWpJ3CsgLGlfh7yVbIAyh8I WHERE 'stadsdeel'='Zuidoost'", > "refreshInterval": 5, > "chartType": "ColumnChart", > > "options": { > "title":" nieuw west", > "backgroundColor": { fill: "none" }} > > }); > > > var bar = new > google.visualization.drawChart(document.getElementById('chart_centrum')); > chart.draw(chart); > > here is part of my code > > thanks in advance > > -- > You received this message because you are subscribed to the Google Groups > "Google Chart API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-chart-api+unsubscr...@googlegroups.com. > To post to this group, send email to google-chart-api@googlegroups.com. > Visit this group at http://groups.google.com/group/google-chart-api. > For more options, visit https://groups.google.com/groups/opt_out. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 dlalibe...@google.com <dlalibe...@google.com> 5CC, Cambridge MA daniel.lalibe...@gmail.com <daniel.lalibe...@gmail.com> 9 Juniper Ridge Road, Acton MA -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-chart-api+unsubscr...@googlegroups.com. To post to this group, send email to google-chart-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-chart-api. For more options, visit https://groups.google.com/groups/opt_out.