BIRT, repeating chart in list
I have a problem using Eclipse BIRT, i'm trying to create a list with group headers including a chart relevant to the specific group header. So lets say i'm trying to create a list with all employees including th开发者_如何学Ceir sick hours monthly in a bar chart.
Name
[CHART], Contract hours, Division, job
Name
[CHART], Contract hours, Division, job
How can i create this without creating a specific data set for every employee? This is what i am currently doing and it renders the grouping functionality of my list useless since i need to create a new dataset and list for each employee.
Regards,
Rik
When you add the chart, do not bind it to the Report Data Source. On the data tab select "Inherit Data From Container". This will ensure the chart is bound to the data that is populating the list, not the underlying (ungrouped) data set.
Here is a smple that does what you need including a link to a live running demo.
Dynamic Chart Creation at BIRT Exchange Dev Share
Good Luck!
精彩评论