在jqPlot中格式化Y轴编号

问题描述:

我设法将y轴文本的格式设置为两位小数,但是由于我使用的是非常大的数字,有没有一种方法可以显示我的数字,如下所示:

I managed to format my y axis text to two decimals, but since I'm using very large numbers, is there a way I can display my numbers like:

NAD 100,000,000.00

而不是

NAD 100000000.00

使用刻度选项

yaxis: { 
           tickOptions:{formatString:'NAD %.2f'} 
        } 

这实际上是....

tickOptions:{
               formatString:"NAD %'d "
            }