Lappies
Lappies

Reputation: 923

Formatting Y axis numbers in jqPlot

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'} 
        } 

Upvotes: 0

Views: 4297

Answers (1)

Lappies
Lappies

Reputation: 923

This actually does....

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

Upvotes: 5

Related Questions