Skip to content

setDecimalFold(decimalFold) ​

setDecimalFold set the chart decimal folding configuration.

Reference ​

typescript
(
  decimalFold: {
    threshold?: number
    format?: (value: number | string) => string
  }
) => void

Parameters ​

  • decimalFold Decimal 0 folds the configuration.
    • threshold Fold threshold.
    • format Custom formatting method.

Returns ​

setDecimalFold returns undefined .

Usage ​

Do not fold decimals ​

Custom format ​