ui.Chart.setChartType

Sets the chartType of this chart.

Returns this chart.

UsageReturns
Chart.setChartType(chartType)ui.Chart
ArgumentTypeDetails
this: ui.chartui.Chart

The ui.Chart instance.

chartTypeString

The chart type; e.g 'ScatterChart', 'LineChart', and 'ColumnChart'. For the complete list of charts, see: https://developers.google.com/chart/interactive/docs/gallery