Skip to content
Main Navigation 指南
图表API
实例API
Pro预览定制赞助
9.x 文档
8.x 文档

🇨🇳 简体中文

🇬🇧 English

🇨🇳 简体中文

🇬🇧 English

主题

Sidebar Navigation

getDom

getSize

setStyles

getStyles

setFormatter

getFormatter

setLocale

getLocale

setTimezone

getTimezone

setThousandsSeparator

getThousandsSeparator

setDecimalFold

getDecimalFold

setOffsetRightDistance

getOffsetRightDistance

setMaxOffsetLeftDistance

setMaxOffsetRightDistance

setLeftMinVisibleBarCount

setRightMinVisibleBarCount

setBarSpace

getBarSpace

setSymbol

getSymbol

setPeriod

getPeriod

setDataLoader

resetData

getDataList

getVisibleRange

createIndicator

overrideIndicator

getIndicators

removeIndicator

createOverlay

overrideOverlay

getOverlays

removeOverlay

setPaneOptions

getPaneOptions

setZoomEnabled

isZoomEnabled

setScrollEnabled

isScrollEnabled

scrollByDistance

scrollToRealTime

scrollToDataIndex

scrollToTimestamp

zoomAtCoordinate

zoomAtDataIndex

zoomAtTimestamp

convertToPixel

convertFromPixel

executeAction

subscribeAction

unsubscribeAction

getConvertPictureUrl

resize

页面导航

setDecimalFold(decimalFold) ​

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

参考 ​

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

参数 ​

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

返回值 ​

setDecimalFold 返回 undefined 。

用法 ​

不折叠小数 ​

自定义格式化 ​

在 GitHub 上编辑此页面

最后更新于:

Pager
上一篇getThousandsSeparator
下一篇getDecimalFold

Released under the Apache License V2.

Copyright © 2018-2025 liihuu