Enum ChartHiddenDimensionStrategy
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
图表隐藏维度策略
枚举了来源中隐藏维度在图表中的表示方式。
如需调用枚举,您可以调用其父类、名称和属性。例如
Charts.ChartHiddenDimensionStrategy.IGNORE_ROWS
。
属性
属性 | 类型 | 说明 |
IGNORE_BOTH | Enum | 默认;图表会跳过所有隐藏的列和隐藏的行。 |
IGNORE_ROWS | Enum | 图表仅会跳过隐藏的行。 |
IGNORE_COLUMNS | Enum | 图表仅会跳过隐藏的列。 |
SHOW_BOTH | Enum | 图表不会跳过隐藏的列或隐藏的行。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003e\u003ccode\u003eChartHiddenDimensionStrategy\u003c/code\u003e controls how charts handle hidden rows and columns in the data source.\u003c/p\u003e\n"],["\u003cp\u003eIt provides four options: \u003ccode\u003eIGNORE_BOTH\u003c/code\u003e, \u003ccode\u003eIGNORE_ROWS\u003c/code\u003e, \u003ccode\u003eIGNORE_COLUMNS\u003c/code\u003e, and \u003ccode\u003eSHOW_BOTH\u003c/code\u003e to define which hidden dimensions are skipped or included in the chart.\u003c/p\u003e\n"],["\u003cp\u003eBy default, charts ignore both hidden columns and rows (\u003ccode\u003eIGNORE_BOTH\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eTo use these options, reference them using the format: \u003ccode\u003eCharts.ChartHiddenDimensionStrategy.PROPERTY_NAME\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum ChartHiddenDimensionStrategy\n\nChartHiddenDimensionStrategy\n\nAn enumeration of how hidden dimensions in a source are expressed in a chart.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCharts.ChartHiddenDimensionStrategy.IGNORE_ROWS`. \n\n### Properties\n\n| Property | Type | Description |\n|------------------|--------|-----------------------------------------------------------|\n| `IGNORE_BOTH` | `Enum` | Default; charts skips any hidden columns and hidden rows. |\n| `IGNORE_ROWS` | `Enum` | Charts skips hidden rows only. |\n| `IGNORE_COLUMNS` | `Enum` | Charts skips hidden columns only. |\n| `SHOW_BOTH` | `Enum` | Charts does not skip hidden columns or hidden rows. |"]]