ui.Chart.getChartType
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
Usage | Returns |
---|
Chart.getChartType() | String |
Argument | Type | Details |
---|
this: ui.chart | ui.Chart | The ui.Chart instance. |
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 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["The `getChartType()` method reveals the type of a given chart (e.g., 'ScatterChart', 'LineChart')."],["Refer to the provided link for a comprehensive list of supported chart types: [https://developers.google.com/chart/interactive/docs/gallery](https://developers.google.com/chart/interactive/docs/gallery)."],["`getChartType()` is a method within the `ui.Chart` class and returns a string representing the chart type."]]],[]]