ui.Chart.getChartType
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลประเภทของแผนภูมินี้ เช่น "ScatterChart", "LineChart" และ "ColumnChart" ดูรายการแผนภูมิทั้งหมดได้ที่ https://developers.google.com/chart/interactive/docs/gallery
การใช้งาน | การคืนสินค้า |
---|
Chart.getChartType() | สตริง |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ ui.chart | ui.Chart | อินสแตนซ์ ui.Chart |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThe \u003ccode\u003egetChartType()\u003c/code\u003e method reveals the type of a given chart (e.g., 'ScatterChart', 'LineChart').\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided link for a comprehensive list of supported chart types: \u003ca href=\"https://developers.google.com/chart/interactive/docs/gallery\"\u003ehttps://developers.google.com/chart/interactive/docs/gallery\u003c/a\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003egetChartType()\u003c/code\u003e is a method within the \u003ccode\u003eui.Chart\u003c/code\u003e class and returns a string representing the chart type.\u003c/p\u003e\n"]]],[],null,["# ui.Chart.getChartType\n\n\u003cbr /\u003e\n\nReturns this chart's type; e.g 'ScatterChart', 'LineChart', and 'ColumnChart'. For the complete list of charts, see: https://developers.google.com/chart/interactive/docs/gallery\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------------|---------|\n| Chart.getChartType`()` | String |\n\n| Argument | Type | Details |\n|------------------|----------|------------------------|\n| this: `ui.chart` | ui.Chart | The ui.Chart instance. |"]]