Home DevShare Designing BIRT Reports

Chart data table

Share

by apaine

DevShare - 5 postsLeaderboard - 1 timeForum - 1 post
Posted 30 Apr 2012 - 06:51 AM

(1)  (0)   (291 views)

By downloading this item, you are agreeing to the Terms of Use for the site.

Add a data table under your charts with the table columns aligned with the chart categories

Birt Version:-2.6

The attached example contains chart event handler code to insert a data table below a chart with the table columns lining up with the chart categories.

It works with bar, line, area, scatter, tube, cone and pyramid charts drawn in 2D or 2D with depth.

To use:

  1. Add a reference to adnpbirt1.0.jar to your report
  2. Set your chart eventhandler to com.adnp.birt.eventhandlers.TableChartAdapter

The table borders and background are taken from the legend formatting: configure the table format by enabling the legend, setting the background and line properties and then hiding the legend (the table makes the legend redundant). The table text formatting is copied from the x-axis labels.

This was written for Actuate BIRT Report Designer Professional 11SP3, BIRT 2.6.3.

Download (101.74 KB)

By downloading this item, you are agreeing to the Terms of Use for the site.



DevShare - 5 postsLeaderboard - 1 timeForum - 1 post

apaine

Posted: 08 May 2012 - 05:45 AM

Update - this works with reports built in BIRT 3.7.1 but not 3.7.2 (Actuate BIRT 11SP4) due to a change in the ROM.

CNVR

Posted: 08 Apr 2013 - 02:32 PM

Hi Apaine, Thank you for this tutorial. I am looking to create exact report on BIRT 3.7.2. How can I update it to work on Actuate BIRT 3.7.2? Thanks, CNVR

DevShare - 5 postsLeaderboard - 1 timeForum - 1 post

apaine

Posted: 11 Apr 2013 - 07:38 AM

Did you try it? I just checked again and it works OK in 3.7.2 for me. I think my comment from a year ago was with respect to HTML5 charts in Actuate BIRT which this is not for. For HTML5 charts you can do it with client side script.
 
Filter More