# ui.Chart.setOptions

<br />

Sets options used to style this chart.

<br />

Returns this chart.

| Usage | Returns |
|---|---|
| `Chart.setOptions(options)` | ui.Chart |

| Argument | Type | Details |
|---|---|---|
| this: `ui.chart` | ui.Chart | The ui.Chart instance. |
| `options` | Object | 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 |