可以在jqplot中给出yaxis tickLabel中的货币模式吗?
这是我的剧本可以在jqplot中给出yaxis tickLabel中的货币模式吗?,jqplot,Jqplot,这是我的剧本 <script type="text/javascript"> function my_ext() { this.cfg.axes.yaxis.tickOptions = { formatString : '' }; } </script> 我想将轴上的数字格式化为:100000000.00。如何在jqplot中执行此操作?这是您需要的格式: tickOptions:{formatSt
<script type="text/javascript">
function my_ext() {
this.cfg.axes.yaxis.tickOptions = {
formatString : ''
};
}
</script>
我想将轴上的数字格式化为:100000000.00。如何在jqplot中执行此操作?这是您需要的格式:
tickOptions:{formatString:"%'.2f"}
“对于英语的计算
.2是点后的数字您能更详细地描述一下您的问题吗?谢谢,现在可以了