Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
google
visualization
DataTable
Class DataTable
Index
Constructor methods
constructor
Methods
addColumn
addRow
addRows
getFilteredRows
getFormattedValue
getNumberOfColumns
getNumberOfRows
getValue
removeRow
removeRows
setColumnLabel
Constructor methods
constructor
(
data
?:
any
, version
?:
any
)
:
DataTable
Parameters
data?:
any
optional
version?:
any
optional
Returns
DataTable
Methods
public
addColumn
(
type
:
string
, label
?:
string
, id
?:
string
)
:
number
Parameters
type:
string
label?:
string
optional
id?:
string
optional
Returns
number
public
addColumn
(
descriptionObject
:
DataTableColumnDescription
)
:
number
Parameters
descriptionObject:
DataTableColumnDescription
Returns
number
public
addRow
(
cellObject
:
DataObjectCell
)
:
number
Parameters
cellObject:
DataObjectCell
Returns
number
public
addRow
(
cellArray
?:
Array<any>
)
:
number
Parameters
cellArray?:
Array<any>
optional
Returns
number
public
addRows
(
count
:
number
)
:
number
Parameters
count:
number
Returns
number
public
addRows
(
array
:
Array<google.visualization.DataObjectCell[]>
)
:
number
Parameters
array:
Array<google.visualization.DataObjectCell[]>
Returns
number
public
addRows
(
array
:
Array<any>
)
:
number
Parameters
array:
Array<any>
Returns
number
public
getFilteredRows
(
filters
:
DataTableCellFilter
[]
)
:
Array<number>
Parameters
filters:
DataTableCellFilter
[]
Returns
Array<number>
public
getFormattedValue
(
rowIndex
:
number
, columnIndex
:
number
)
:
string
Parameters
rowIndex:
number
columnIndex:
number
Returns
string
public
getNumberOfColumns
(
)
:
number
Returns
number
public
getNumberOfRows
(
)
:
number
Returns
number
public
getValue
(
rowIndex
:
number
, columnIndex
:
number
)
:
any
Parameters
rowIndex:
number
columnIndex:
number
Returns
any
public
removeRow
(
rowIndex
:
number
)
Parameters
rowIndex:
number
public
removeRows
(
rowIndex
:
number
, numberOfRows
:
number
)
Parameters
rowIndex:
number
numberOfRows:
number
public
setColumnLabel
(
columnIndex
:
number
, label
:
string
)
Parameters
columnIndex:
number
label:
string
Globals
google
google.visualization
google.visualization.events
AreaChartOptions
BarChartOptions
BubbleChartOptions
CandlestickChartOptions
ChartAnnotations
ChartArea
ChartAxis
ChartBoundingBox
ChartBoxStyle
ChartBubble
ChartColorAxis
ChartCrosshair
ChartExplorer
ChartGridlines
ChartLayoutInterface
ChartLegend
ChartMinorGridlines
ChartSizeAxis
ChartSpecs
ChartStroke
ChartTextStyle
ChartTooltip
ChartViewWindow
ColumnChartOptions
CssClassNames
DataObject
DataObjectCell
DataObjectColumn
DataObjectRow
DataTableCellFilter
DataTableCellRangeFilter
DataTableCellValueFilter
DataTableColumnDescription
ErrorEventObject
GeoChartMagnifyingGlass
GeoChartOptions
GeoChartRegionClickEvent
GeoChartSelection
GroupWidth
HistogramHistogramOptions
HistogramOptions
LabelStyle
LineChartOptions
PieChartOptions
ScatterChartOptions
SteppedAreaChartOptions
TableOptions
TimelineOptions
TransitionAnimation
TreeMapOptions
VisualizationSelectionArray
AreaChart
BarChart
BubbleChart
CandlestickChart
ChartBase
ChartWrapper
ColumnChart
CoreChartBase
DataTable
constructor
addColumn
addRow
addRows
getFilteredRows
getFormattedValue
getNumberOfColumns
getNumberOfRows
getValue
removeRow
removeRows
setColumnLabel
DataView
GeoChart
Histogram
LineChart
PieChart
ScatterChart
SteppedAreaChart
Table
Timeline
TreeMap
arrayToDataTable