ui.Chart.setDataTable

Sets the DataTable containing data for this chart.

Returns this chart.

UsageReturns
Chart.setDataTable(dataTable)ui.Chart
ArgumentTypeDetails
this: ui.chartui.ChartThe ui.Chart instance.
dataTableListA 2-D array of data to chart or a Google Visualization DataTable literal. See: http://developers.google.com/chart/interactive/docs/reference#DataTable