Skip to content

Instantly share code, notes, and snippets.

@sayon-bitquery
Created July 21, 2021 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sayon-bitquery/506943ead21e26e3456c94169035deea to your computer and use it in GitHub Desktop.
Save sayon-bitquery/506943ead21e26e3456c94169035deea to your computer and use it in GitHub Desktop.
mounted() {
const widgetOptions = {
symbol: this.symbol,
datafeed: api(this.baseCurrency),
interval: this.interval,
container_id: this.containerId,
library_path: this.libraryPath,
theme: 'Dark',
locale: 'en',
disabled_features: ['use_localstorage_for_settings'],
charts_storage_url: this.chartsStorageUrl,
charts_storage_api_version: this.chartsStorageApiVersion,
client_id: this.clientId,
user_id: this.userId,
fullscreen: this.fullscreen,
autosize: this.autosize,
studies_overrides: this.studiesOverrides,
timezone: Intl.DateTimeFormat().resolvedOptions().timeZone
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment