cho Posted August 17, 2006 Share Posted August 17, 2006 I am trying to plot a graph using iReports1.2.5 with names on Xaxis and Age on Yaxis as a line graph.I wrote the query for that and the data is returning properly. But the graph is not showing any data. I entered $F{age} for series expression and category expression as $F{name} and value expression as $F{total_enters}.Can someone help me to identiy what iam missig here. This is very urgent for me. Thanks Link to comment Share on other sites More sharing options...
cho Posted August 17, 2006 Author Share Posted August 17, 2006 Can someone help me how to render graph in jasper reports please? Link to comment Share on other sites More sharing options...
teodord Posted August 23, 2006 Share Posted August 23, 2006 Hi, Where did you placed the chart? What evaluationTime have you used for it?Could you post the JRXML here? You could recheck the supplied examples in the /demo/samples/charts folder of our project distribution. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
bklawans Posted August 26, 2006 Share Posted August 26, 2006 The series expression gives a way to collect a bunch of data into a set, which is useful when you want to plot multiple things on a single graph, such as age and height. In this case you set the series to be $F{age} so it thinks you have a bunch of different data series. Set the seriesExpression to "Age", the category expression to "$F{name}" and the value to "$F{age}". That should help. -Barry 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