Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
Stay organized with collections
Save and categorize content based on your preferences.
Returns 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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 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. |"]]