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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -