Jump to content
JasperReports Library 7.0 is now available ×

Specify chart series in iReports 1.1.0


2006 IR Open Dicussion

Recommended Posts

By: Piyush - piyushrules

Specify chart series in iReports 1.1.0

2006-02-26 05:54

Hi All,

I have been trying to figure out how and where to specify the x and y axis for a Bar chart. I'm using iReports 1.1.0. In version 0.5.0 it was possible under the heading Chart properties -> data, but in version 1.1.0, I seem to be totally lost. Saw a few postings in the forum but was not able to make too much out of it. Please help !!

 

Thanks in advance,

Regards,

Piyush

 

 

 

 

 

By: Piyush - piyushrules

RE: Specify chart series in iReports 1.1.0

2006-02-26 21:38

Hi All,

This is for the benefit for all those who will be refering to this forum in furute. I was finally able to crack this part as to specifying the chart axis.

 

1.) Right click on the chart

2.) Select chart properties --> chart data --> details --> Add.

3.) Suppose you have 2 fields retrieved from the db, student name and marks and you want to generate a bar chart with these details; this is what you have to specify.

4.) Series Expression --> $V{SERIE_studentName}

Category Expression --> $V{SERIE_studentName}

Value Expression --> $V{SERIE_Marks}

 

The values specified in $V{} are the name of the series that you would have created under View --> Report Series --> New Series.

 

Hope this helps !!!!

 

Regards,

Piyush

 

 

 

 

 

By: Giulio Toffoli - gt78

RE: Specify chart series in iReports 1.1.0

2006-02-27 17:31

iReport 1.1.0 uses the native support for chart provided by JasperReports. The tutorial in the free documentation (HTML manual) is outdated. I'll upgrade it as soon I find a couple of hours.

 

giulio

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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