小编Sac*_*she的帖子

如何在 D3.js /C3.js 中格式化数字

我的应用程序支持下面列出的几种数字格式,并希望以该格式显示数字 c3 图表。

NUMBER_FORMAT1="#,###.##" ( decimal separator . and thousand separator , )
NUMBER_FORMAT2="#.###,##" ( decimal separator , and thousand separator . )
NUMBER_FORMAT3="# ###,##" ( decimal separator , and thousand separator space )
NUMBER_FORMAT4="# ###.##" ( decimal separator . and thousand separator space )
Run Code Online (Sandbox Code Playgroud)

javascript charts d3.js c3.js

1
推荐指数
1
解决办法
9259
查看次数

标签 统计

c3.js ×1

charts ×1

d3.js ×1

javascript ×1