saman Posted August 22, 2007 Share Posted August 22, 2007 I'm new to iReport and I have a problem creating a chart. I have a report that has been executed correctly and shows all the information in right way. But my problem is that I have a chart in summery band. I can't fill the chart. I don't know why but no information fill the chart. This problem isn't related to the type of chart I think. So I think there are some problems with the properties of chart. I want to create a very simple chart as my first one. Name of the table: testChartAnd the fields:[id] [int] IDENTITY (1, 1) NOT NULL ,[country] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,[population] [int] NULL ,PRIMARY KEY : id My query is:SELECT *FROM testChartorder by id I want to create a chart to show countries and their population. For a pie chart I set the properties like:key expression : $F{country}value expression : $F{population}lable expression : $F{country} and the eval time is "report".Why do I have suche a this problem and how can I set them for other types of chart? please help me. I waste too much time on it. Any help with this would be very much appreciated. Link to comment Share on other sites More sharing options...
saman Posted August 23, 2007 Author Share Posted August 23, 2007 I found it.:lol: http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=215&func=view&id=175&catid=9 Post edited by: saman, at: 2007/08/23 05:45 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