Skip to content

setDecimalFold(decimalFold) ​

setDecimalFold 设置图表小数折叠配置。

参考 ​

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

参数 ​

  • decimalFold 折叠配置。
    • threshold 折叠阈值。
    • format 自定义折叠格式化。

返回值 ​

setDecimalFold 返回 undefined 。

用法 ​

不折叠小数 ​

自定义格式化 ​