daad.madhusudan Posted April 7, 2015 Share Posted April 7, 2015 I am working on a jasper report and I am generating a chart with the following data:reason countA 10B 27C 45D 35 Now instaed on displaying labels I want to change it likeFor 1st retrived reason label will be "Reason 1" for second "Reason 2" and so on. These labeling will be independent of reason codes mentioned in the output data.Is there any way to set these labels using customizers like reason[0] = "Reason 1", reason[1] = "Reason 2"?Please help to solve this problem Link to comment Share on other sites More sharing options...
Solution tchen Posted April 7, 2015 Solution Share Posted April 7, 2015 Since the reason label is based on report data row retreival sequence, you can use $V{REPORT_COUNT} in chart series or categories expression to meet your requirement:"Reason "+$V{REPORT_COUNT} Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now