Enum Position
Position
An enumeration of legend positions within a chart.
To call an enum, you call its parent class, name, and property. For example,
Charts.Position.TOP
.
Properties
Property | Type | Description |
TOP | Enum | Above the chart. |
RIGHT | Enum | To the right of the chart. |
BOTTOM | Enum | Below the chart. |
NONE | Enum | No legend is displayed. |
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."],[[["`Charts.Position` enumerates the allowed positions for a chart legend."],["Legend positions include `TOP`, `RIGHT`, `BOTTOM`, and `NONE`, controlling legend placement or its absence."],["To specify a legend position, use the syntax `Charts.Position.[Property]`, such as `Charts.Position.TOP` for placing the legend above the chart."]]],[]]