Enum Orientation
Stay organized with collections
Save and categorize content based on your preferences.
Orientation
An enumeration of the orientation of an object.
To call an enum, you call its parent class, name, and property. For example,
Charts.Orientation.HORIZONTAL
.
Properties
Property | Type | Description |
HORIZONTAL | Enum | Horizontal orientation. |
VERTICAL | Enum | Vertical orientation. |
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-10-31 UTC.
[null,null,["Last updated 2024-10-31 UTC."],[[["\u003cp\u003eOrientation is used to define the direction of an object.\u003c/p\u003e\n"],["\u003cp\u003eYou can access orientation types using \u003ccode\u003eCharts.Orientation.[property]\u003c/code\u003e format, for example, \u003ccode\u003eCharts.Orientation.HORIZONTAL\u003c/code\u003e to specify horizontal orientation.\u003c/p\u003e\n"],["\u003cp\u003eAvailable orientation properties include \u003ccode\u003eHORIZONTAL\u003c/code\u003e and \u003ccode\u003eVERTICAL\u003c/code\u003e, allowing you to set horizontal or vertical direction respectively.\u003c/p\u003e\n"]]],[],null,["# Enum Orientation\n\nOrientation\n\nAn enumeration of the orientation of an object.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCharts.Orientation.HORIZONTAL`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------|--------|-------------------------|\n| `HORIZONTAL` | `Enum` | Horizontal orientation. |\n| `VERTICAL` | `Enum` | Vertical orientation. |"]]