Enum ColumnType
Stay organized with collections
Save and categorize content based on your preferences.
ColumnType
An enumeration of the valid data types for columns in a DataTable
.
To call an enum, you call its parent class, name, and property. For example,
Charts.ColumnType.DATE
.
Properties
Property | Type | Description |
DATE | Enum | Corresponds to date values. |
NUMBER | Enum | Corresponds to number values. |
STRING | Enum | Corresponds to string values. |
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 2024-12-02 UTC.
[null,null,["Last updated 2024-12-02 UTC."],[],["The `ColumnType` enumeration defines valid data types for `DataTable` columns. It includes three properties: `DATE`, representing date values; `NUMBER`, representing numerical values; and `STRING`, representing string values. To use a specific type, reference it through `Charts.ColumnType`, followed by the desired property name (e.g., `Charts.ColumnType.DATE`). These are the only types allowed in the table.\n"],null,[]]