Enum Position
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตำแหน่ง
การแจงนับตำแหน่งของคำอธิบายภายในแผนภูมิ
หากต้องการเรียก enum คุณจะต้องเรียกคลาส ชื่อ และพร็อพเพอร์ตี้ระดับบนสุด เช่น
Charts.Position.TOP
พร็อพเพอร์ตี้
พร็อพเพอร์ตี้ | Type | คำอธิบาย |
TOP | Enum | เหนือแผนภูมิ |
RIGHT | Enum | ทางด้านขวาของแผนภูมิ |
BOTTOM | Enum | ใต้แผนภูมิ |
NONE | Enum | ระบบจะไม่แสดงคำอธิบาย |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003e\u003ccode\u003eCharts.Position\u003c/code\u003e enumerates the allowed positions for a chart legend.\u003c/p\u003e\n"],["\u003cp\u003eLegend positions include \u003ccode\u003eTOP\u003c/code\u003e, \u003ccode\u003eRIGHT\u003c/code\u003e, \u003ccode\u003eBOTTOM\u003c/code\u003e, and \u003ccode\u003eNONE\u003c/code\u003e, controlling legend placement or its absence.\u003c/p\u003e\n"],["\u003cp\u003eTo specify a legend position, use the syntax \u003ccode\u003eCharts.Position.[Property]\u003c/code\u003e, such as \u003ccode\u003eCharts.Position.TOP\u003c/code\u003e for placing the legend above the chart.\u003c/p\u003e\n"]]],[],null,["# Enum Position\n\nPosition\n\nAn enumeration of legend positions within a chart.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCharts.Position.TOP`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|----------------------------|\n| `TOP` | `Enum` | Above the chart. |\n| `RIGHT` | `Enum` | To the right of the chart. |\n| `BOTTOM` | `Enum` | Below the chart. |\n| `NONE` | `Enum` | No legend is displayed. |"]]