Google Apps Script

Class ChartOptions

Exposes options currently configured for a Chart, such as height, color, etc.

Please see the visualization reference documentation for information on what options are available. Specific options for each chart can be found by clicking on the specific chart in the chart gallery.

These options are immutable.


MethodReturn typeBrief description
get(option)ObjectReturns a configured option for this chart.

Detailed documentation


Returns a configured option for this chart.


optionStringstring representing the desired option


Object — the value currently set for the specified option or null if the option was not set

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.