We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
load
google-chart-loader
Add the following function to the google-chart-loader module:
export function load(settings) { /* supply default values for settings and ... */ /* delegate to Google Charts loader */ }
The options can specify:
options
language
lang
packages
['corechart']
version
'current'
mapsApiKey
The function returns a promise that resolves when the selected packages are loaded.
Use cases:
await load()
DataTable
This is a part extracter from PR #204.
@wesalvaro, WDYT?
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Add the following function to the
google-chart-loader
module:The
options
can specify:language
- what language should be used by Google Charts library, default:lang
attribute of the document or English if no attributepackages
- which packages to load, default:['corechart']
version
- what version of Google Charts library to load, default:'current'
, other possible valuesmapsApiKey
- used for queries from geochartsThe function returns a promise that resolves when the selected packages are loaded.
Use cases:
await load()
before constructing a testDataTable
)This is a part extracter from PR #204.
@wesalvaro, WDYT?
The text was updated successfully, but these errors were encountered: