ui.Chart.setOptions

Sets options used to style this chart.

Returns this chart.

UsageReturns
Chart.setOptions(options)ui.Chart
ArgumentTypeDetails
this: ui.chartui.ChartThe ui.Chart instance.
optionsObjectAn object defining chart style options such as:
title (string) The title of the chart.
colors (Array) An array of colors used to draw the chart.
Its format should follow the Google Visualization API's options: https://developers.google.com/chart/interactive/docs/customizing_charts