ui.Chart.setDataTable
Sets the DataTable containing data for this chart.
Returns this chart.
Usage | Returns |
---|
Chart.setDataTable(dataTable) | ui.Chart |
Argument | Type | Details |
---|
this: ui.chart | ui.Chart | The ui.Chart instance. |
dataTable | List | A 2-D array of data to chart or a Google Visualization DataTable literal. See: http://developers.google.com/chart/interactive/docs/reference#DataTable |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["Sets the DataTable containing data for the chart, accepting a 2-D array or a Google Visualization DataTable literal as input."],["Returns the ui.Chart instance, allowing for method chaining."],["The `setDataTable` method is called on a ui.Chart instance and requires a 'dataTable' argument."]]],[]]