Skip to content

charton API


charton API / @chart-on/core / index / symbolPriceFormat

Function: symbolPriceFormat() ​

symbolPriceFormat(info): PriceFormat | undefined

Defined in: packages/core/src/util/price-format.ts:101

The format a data source's symbol info asks for: priceFormat, else a decimal format from tickSize and precision, else undefined (auto).

Parameters ​

info ​

precision? ​

number

priceFormat? ​

PriceFormat

tickSize? ​

number

Returns ​

PriceFormat | undefined