pdf - jfree chart bar chart add $ to range value -


i implemented code represent bar chart (as of picture). problem want add $ sign values represent currencies. values be:

$0 ---- $500,000 ----- $1,000,000

any idea?

enter image description here

as shown here, can use numberformat.getcurrencyinstance():

numberformat currency = numberformat.getcurrencyinstance(); numberaxis domainaxis = (numberaxis) plot.getdomainaxis(); domainaxis.setnumberformatoverride(currency); 

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -