问题
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
rather than
NAD 100000000.00
by using tick options
yaxis: {
tickOptions:{formatString:'NAD %.2f'}
}
回答1:
This actually does....
tickOptions:{
formatString:"NAD %'d "
}
来源:https://stackoverflow.com/questions/16436132/formatting-y-axis-numbers-in-jqplot