ui.Chart.setOptions

Sets options used to style this chart.

Returns this chart.

UsageReturns
Chart.setOptions(options)ui.Chart
ArgumentTypeDetails
this: ui.chartui.Chart

The ui.Chart instance.

optionsObject

An 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

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!