pmccall Posted March 10, 2010 Share Posted March 10, 2010 How do I display a report parameter in a chart title?Everything I try either gives me a "can't resolve" error or displays a code line like ((java.lang.String)parameter_whenFrom.getValue())Thanks for any help. Link to comment Share on other sites More sharing options...
pmccall Posted March 11, 2010 Author Share Posted March 11, 2010 I kept working on this and found the solution. If you try to enter the parameter in the "simple options" view, the whole title gets quoted. For example, "From $P{fromDate}" - this doesn't work. You must switch to "show advanced options" and edit the title to remove the quotes around the parameter field and concatenate with any static text: "From " + $P{fromDate} Works like a charm... 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