Enum Orientation
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."],[[["Orientation is used to define the direction of an object."],["You can access orientation types using `Charts.Orientation.[property]` format, for example, `Charts.Orientation.HORIZONTAL` to specify horizontal orientation."],["Available orientation properties include `HORIZONTAL` and `VERTICAL`, allowing you to set horizontal or vertical direction respectively."]]],[]]