Skip to main content
Version: 4.2

Interface: LocalizationOptionsBase

Represents basic localization options

Hierarchy

Properties

locale

locale: string

Current locale used to format dates. Uses the browser's language settings by default.

See

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation

Default Value

navigator.language


priceFormatter

Optional priceFormatter: PriceFormatterFn

Override formatting of the price scale tick marks, labels and crosshair labels. Can be used for cases that can't be covered with built-in price formats.

See

PriceFormatCustom

Default Value

undefined


percentageFormatter

Optional percentageFormatter: PercentageFormatterFn

Override formatting of the percentage scale tick marks, labels and crosshair labels. Can be used for cases that can't be covered with built-in percentage format.

Default Value

undefined