Enum ChartHiddenDimensionStrategy
Stay organized with collections
Save and categorize content based on your preferences.
ChartHiddenDimensionStrategy
An enumeration of how hidden dimensions in a source are expressed in a chart.
To call an enum, you call its parent class, name, and property. For example,
Charts.ChartHiddenDimensionStrategy.IGNORE_ROWS
.
Properties
Property | Type | Description |
IGNORE_BOTH | Enum | Default; charts skips any hidden columns and hidden rows. |
IGNORE_ROWS | Enum | Charts skips hidden rows only. |
IGNORE_COLUMNS | Enum | Charts skips hidden columns only. |
SHOW_BOTH | Enum | Charts does not skip hidden columns or hidden rows. |
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."],[[["\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. |"]]