Trait

com.google.appsscript.charts

TableChartBuilder

Related Doc: package charts

Permalink

trait TableChartBuilder extends Object

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); }

Annotations
@RawJSType()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TableChartBuilder
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def build(): Chart

    Permalink

    Builds the chart.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def enablePaging(pageSize: Int, startPage: Int): TableChartBuilder

    Permalink

    Enables paging, sets the number of rows in each page and the first table page to display (page numbers are zero based).

  8. def enablePaging(pageSize: Int): TableChartBuilder

    Permalink

    Enables paging and sets the number of rows in each page.

  9. def enablePaging(enablePaging: Boolean): TableChartBuilder

    Permalink

    Sets whether to enable paging through the data.

  10. def enableRtlTable(rtlEnabled: Boolean): TableChartBuilder

    Permalink

    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.

  11. def enableSorting(enableSorting: Boolean): TableChartBuilder

    Permalink

    Sets whether to sort columns when the user clicks a column heading.

  12. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  24. def setDataSourceUrl(url: String): TableChartBuilder

    Permalink

    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.

  25. def setDataTable(table: DataTableSource): TableChartBuilder

    Permalink

    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.

  26. def setDataTable(tableBuilder: DataTableBuilder): TableChartBuilder

    Permalink

    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().

  27. def setDataViewDefinition(dataViewDefinition: DataViewDefinition): TableChartBuilder

    Permalink

    Sets the data view definition to use for the chart.

  28. def setDimensions(width: Int, height: Int): TableChartBuilder

    Permalink

    Sets the dimensions for the chart.

  29. def setFirstRowNumber(number: Int): TableChartBuilder

    Permalink

    Sets the row number for the first row in the data table.

  30. def setInitialSortingAscending(column: Int): TableChartBuilder

    Permalink

    Sets the index of the column according to which the table should be initially sorted (ascending).

  31. def setInitialSortingDescending(column: Int): TableChartBuilder

    Permalink

    Sets the index of the column according to which the table should be initially sorted (descending).

  32. def setOption(option: String, value: AnyRef): TableChartBuilder

    Permalink

  33. def showRowNumberColumn(showRowNumber: Boolean): TableChartBuilder

    Permalink

    Sets whether to show the row number as the first column of the table.

  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. def useAlternatingRowStyle(alternate: Boolean): TableChartBuilder

    Permalink

    Sets whether alternating color style will be assigned to odd and even rows of a table chart.

  38. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  39. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped