Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
Enum ColumnType
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
ColumnType
枚举 DataTable 中列的有效数据类型。
若要调用枚举,您可以调用其父类、名称和属性。例如
Charts.ColumnType.DATE。
属性
| 媒体资源 | 类型 | 说明 |
DATE | Enum | 对应于日期值。 |
NUMBER | Enum | 对应于数值。 |
STRING | Enum | 对应于字符串值。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2026-04-13。
[null,null,["最后更新时间 (UTC):2026-04-13。"],[],["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"]]