Jump to content

Legend display modification


sunianu

Recommended Posts

hi,

I want to modify my pie chart legend. now i am getting the legend as

 

xxx = 100

yyy=200

 

what  I want is

xxx= $ 100

yyy=$ 200

ie i want to add $ symbol with the legend text . I tried to achive this thru JRAbstractChartCustomizer but i couldnot ...Following is the piece of code

    public void customize(JFreeChart jFreeChart, JRChart jrChart) {
              String sCurrency = (String) this.getParameterValue("currencySymbol");
         LegendTitle  tt= jFreeChart.getLegend();
        

 

I dont know how to proceed after this.  or Is thr any other way to achive this

 

Thanks

Suni

 

 

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...