ui.Chart.setOptions

設定用於設定這個圖表樣式的選項。

傳回這個圖表。

用量傳回
Chart.setOptions(options)ui.Chart
引數類型詳細資料
這個:ui.chartui.Chartui.Chart 執行個體。
options物件定義圖表樣式選項的物件,例如:
title (字串) 圖表的標題。
colors (陣列) 用於繪製圖表的顏色陣列。
格式應符合 Google Visualization API 的選項:https://developers.google.com/chart/interactive/docs/customizing_charts