A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/apps-script/reference/charts/chart-options.html below:

Class ChartOptions | Apps Script

Class ChartOptions

Stay organized with collections Save and categorize content based on your preferences.

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.

Methods Method Return type Brief description get(option) Object Returns a configured option for this chart. getOrDefault(option) Object Returns a configured option for this chart. Detailed documentation get(option)

Returns a configured option for this chart.

Parameters Name Type Description option String The string representing the desired option. Return

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

getOrDefault(option)

Returns a configured option for this chart. If the chart option is not set, returns the default value of this option if available, or returns null if the default value is not available.

Parameters Name Type Description option String The string representing the desired option. Return

Object — The value currently set for the specified option. If the option was not set and the default value is available, returns the default value.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-12-02 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-02 UTC."],[[["`ChartOptions` provides access to the configuration settings of a Chart, such as height and color, and these options cannot be changed once set."],["To understand available options, refer to the visualization reference and chart gallery for specific chart details."],["It offers two methods: `get(option)` to retrieve a specific option's value, returning `null` if not set, and `getOrDefault(option)` which returns the option's value or its default if available, otherwise `null`."]]],[]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4