【发布时间】:2011-10-17 09:56:14
【问题描述】:
我用的是jqplot,默认是这样的:
最后没有.0怎么办?
【问题讨论】:
-
也许你想设置
stringFormat:jqplot.com/docs/files/plugins/…。%d将代表一个有符号整数。 -
谢谢!如果有人想做,这是一段代码轴:{ xaxis:{min:0, max:31, tickOptions: { formatString:'%d' }, },
标签: javascript jquery jqplot