Builds the chart.
Enables paging, sets the number of rows in each page and the first table page to display (page numbers are zero based).
Enables paging and sets the number of rows in each page.
Sets whether to enable paging through the data.
Adds basic support for right-to-left languages (such as Arabic or Hebrew) by reversing the column order of the table, so that column zero is the right-most column, and the last column is the left-most column.
Sets whether to sort columns when the user clicks a column heading.
Sets the data source URL that will be used to pull data in from an external source, such as Google Sheets.
Sets the data source URL that will be used to pull data in from an external source, such as Google Sheets. If a data source URL and a DataTable are provided, the data source URL is ignored. For more information about querying data sources, check out the Google Charts documentation.
Sets the data table which contains the lines for the chart, as well as the X-axis labels.
Sets the data table which contains the lines for the chart, as well as the X-axis labels. The first column should be a string, and contain the horizontal axis labels. Any number of columns can follow, all must be numeric. Each column is displayed as a separate line.
Sets the data table to use for the chart using a DataTableBuilder.
Sets the data table to use for the chart using a DataTableBuilder. This is a convenience method for setting the data table without needing to call build().
Sets the data view definition to use for the chart.
Sets the dimensions for the chart.
Sets the row number for the first row in the data table.
Sets the index of the column according to which the table should be initially sorted (ascending).
Sets the index of the column according to which the table should be initially sorted (descending).
Sets whether to show the row number as the first column of the table.
Sets whether alternating color style will be assigned to odd and even rows of a table chart.
TableChartBuilder A builder for table charts. For more details, see the Google Charts documentation. Here is an example that shows how to build a table chart. The data is imported from a Google spreadsheet.
function doGet() { // Get sample data from a spreadsheet. var dataSourceUrl = 'https://docs.google.com/spreadsheet/tq?range=A1%3AF' + '&key=0Aq4s9w_HxMs7dHpfX05JdmVSb1FpT21sbXd4NVE3UEE&gid=4&headers=-1';
var chartBuilder = Charts.newTableChart() .setDimensions(600, 500) .enablePaging(20) .setDataSourceUrl(dataSourceUrl);
var chart = chartBuilder.build(); return UiApp.createApplication().add(chart); }