how to draw pedigree diagram in jasper iReport design - jasper-reports

I am stuck on the jasper Report designer on drawing a pedigree chart. I have tried to use a sub report but all in vain. Wanted to show and track certain character traits in animal ancestry.

Related

Editing the column size inside subreport using jasper API

I have a jrxml file containing six subreports.
I need to programatically hide the columns displayed in these subreports.
I did search for a solution, but could not find a example for modifying the columns in subreports and I am unable to find a way with jasper API to pick the subreport from JasperReport class.
I did check dynamicreports API. But it seems subreport can't already have columns defined in it.

To add data table with Crystal charts

i am using Crystal 2008 and Would like to add data table just underneath attached to a Chart. This can be done very easily in Excel. Don't know how to do it in Crystal
please advise....much appreciated
The way your question is worded I'm not clear if you mean under as in "behind" or "below". It would help if you include a mockup drawing of what you're trying to accomplish.
If you mean "behind", the feature you're looking for is Section Underlay. This video gives a small demo of the feature to put a watermark image behind the report, but you can do the same thing with a chart, crosstab, or other object. The "World Sales Report" sample report has another example of this feature to put a table beside the chart.
If you mean "below", you can either just add sections and put your data fields there, or if that's not the type of table you're looking for, you may want to use a Crosstab object.

How to create Table in Crystal Report

Create Table in Crystal Report
I am newbie to Crystal Report, and i am using Crystal Report 2008. I want to know, do we have table object in Crystal Report.. so that i can draw a table with specific rows and columns, and drag and drop the items to each and every table cell as per the requirement.
The problem i am facing without using table object is that, i have to align each and every element either it is text field or database field from the field explorer, so that it looks like a table and it is too much time taking.
If it can be done in Higher versions of Crystal Reports, then please give details.
you have to draw tables mannually in CR, using the line and box items from the designer,
alignment is also available, you can use gridlines and alignment options of crystal reports, its not hard at all..
Goto Insert - Ole Object - Microsoft Office Excel
It will add a excel file in your report. By dragging vertical reduce the excel object to one row and and horizontally to your required no. of Columns.
That will create a table with one row and many columns and can grow automatically in Detail section.

How to create Excel document with proper cell alignment using Ireport?

I can able to create Excel document using Jasper Report but the problem is that fields are not properly aligned in the cells of excel sheet and all the data are populated in the plain surface without any cells.i.e) I cannot see any cells in the data populated area.Can u please give me suggestion to make proper Excel document with cell alignment.
I had this same struggle and came up with the following. At the time, I was using iReport (3.0.0) and was able to generate a good xls file. It may be easier in newer versions of iReport and/or JasperReports. Here's what I did:
I created a new report using the new report wizard and chose a tabular template. This creates a report with all of the fields in a line with no gaps between them. It is very key that fields are vertically aligned, that all the same height, and that there are no gaps between fields.
I removed all of the extra objects created (title, extra lines) except for the fields and the headers. I then collapsed all of the bands except the column header and detail bands.
On the report properties, I checked "Ignore pagination"
I changed the text color of the header fields, otherwise it ends up as white on white.
The rest of the important options can be found by selecting Options -> Export Options from the menu and then scrolling down to the "XLS Exporter" section. I attached a screen shot of the options I chose. You can experiment with the settings, but I found (through trial and error) that the options I ended up with work pretty well. These options are not stored in the report def file, they are attributes of the thing generating the report. iReport takes care of it when testing in that environment. We are using custom Java to generate the report in production and we set the attributes there.
XLS Exporter Dialog http://www.imagechicken.com/uploads/1270760205041768200.png

Display array values in Crystal Report

I am generating and display crystal report from my asp.net application. In the code, i have a array of numbers that I want to be able to display in the report. so if in my code I have int[] {1,4,5,6,8,10 } I want to somehow pass this array to crystal report so that we have 6 rows in the details section of the report where each row is showing one value from the array..so we will have a report like:
1
4
5
6
8
10
is this possible..how..please help
If you are doing this from .Net, you should be able to achieve this by creating a custom dataset and data table, filling the values in the data table as you require, and then provide the datatable as source to your Crystal report.
Have a look at some of these articles, they should help you in the direction you need
Ignore the section where the database corrections are mad.
Focus on the section where it sets the datasource
// Setting data source of our report object
objRpt.SetDataSource(Ds);
Crystal Report with DataSet and
DataTable using C#
Creating Crystal Reports using C#
with Datasets