When using Dashboards, you cannot use the refreshInterval to requery your data source. You have to use the
Query class to create a query and the setTimeout or setInterval js functions to resend the query. You fetch the DataTable from the data returned by the query and pass it to the Dashboard object when you call the Dashboard's #draw method. The Dashboard handles distributing data to all of the controls and charts bound in the Dashboard.
On Sunday, November 18, 2012 8:58:30 PM UTC-5, David Vine wrote:
Hi,
I'm trying to use ChartWrapper objects in a dahsboard with a remote data source and have the data refresh using refreshInterval.
In the docs it says:
Do not set its dataTable, query, dataSourceUrl and refreshInterval attributes explicitly.
My question is how do I set these if not explicitly?
Thanks,
David