Jump to content
Changes to the Jaspersoft community edition download ×

Creating chart problem(plz help)


saman

Recommended Posts

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: testChart

And 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 testChart

order 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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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