Jump to content
JasperReports Library 7.0 is now available ×

Bar Chart X Axis Label problem


manpreet

Recommended Posts

Hi,

I am working on a bar chart, and have three values to display ( Object Category --> string and coupon --> Big Decimal) on the X Axis and sum of Price(for the above group of Category and coupon) on the Y axis

 

currently i have theese values

 

Category Expression as --> $F{Object Category }

Series Expression---> $F{coupon}

and Value Expression as= $F{sum(price)}

 

the chart comes up with colour codes for the coupon and X axis label is the object category, with each slice of coupon colour coded.

 

The requirement says that along with the colour code for coupon slice , i have to dsiplay the coupon name .

 

eg if cp1, cp2 cp3..ect are coupon values and inside , outside , NC are categories

 

i need the display as

 

cp1 cp3 cp5 cp2 cp6

<--inside--> <--outsied-->

Is there any way i can print the coupon values too along with the categories which get displayed normally now.

 

Please reply soon, if u know the answer.

 

manny

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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...