-
Show/hide tables based on passed in date parameter
This example uses a passed in parameter to determine which table to show. Each table uses the visibility property and code similar to below.var paramDate = new Date(Date.parse(params["NewParameter"].value));var flipDate = new Date(Date.parse(params["flipParam"].value));var paramDateComp = paramDate.getTime();var…
-
Using crosstab to get a horizontal display of table data
A simple example showing how to use a crosstab to get a table with the labels on the left and data horizontal... versus the normal table with the labels on the top and the data vertical. This example works best when the data does not try to wrap past the page width.
-
EclipseCon 2009 Give Users a Web Portal for Creating Ad-hoc Reports
Attached are the slides from the EclipseCon 2009 Session titled Give Users a Web Portal for Creating Ad-hoc Reports. This was a gold sponsered talk and explains the various ways to integrate BIRT reports into your applications and focused on how the Actuate iServer Express integrates with your applications to satisify your…
-
Using the BIRT Designer - BIRT User Group UK Presentation
Powerpoint slides and example BIRT Designs used for the BIRT User Group in London on April 27, 2010. Topic include various features of the BIRT Report Designer.
-
BIRT POJO Data Source Example
The enclosed example is a Java Eclipse project that includes a BIRT report design and a simple Java Object (POJO) for data.<br /> <br /> You can read more about the POJO Data Source in this blog post at http://www.birt-exchange.org/org/forum/index.php/blog/3/entry-173-still-using-scripted-data-source-for-your-pojos/<br />…
-
BIRT Sales Invoice Report
Using the "Classic Models Inc." sample database, prints an invoice for the selected order, including customer and invoice details and products ordered. Demonstrates use of a parameter to select the order to invoice and expressions for several calculated fields, including discount and order total. Uses expression to build…
-
BIRT XML Data Source
This example demonstrates how BIRT can be used to build reports on XML data sources. An XML file or an URI can serve as data sources for a BIRT report. In this example, we utilize URI's to the Eclipse RSS Newsfeed as the data source for a report.
-
Using BIRT Report Libraries
This example demonstrates how BIRT can be used to build reusable component report libraries. In this example, we start by creating a library. We utilize URI's to the Eclipse RSS Newsfeed as the data source for a report and store it in the library. We then publish the library to a resource folder. This example demonstrates…
-
BIRT Drilldown Combo Chart
This example demonstrates how a Combination Chart can be created within BIRT. In addition this example also demonstrates how to add drill to details, using internal bookmarks and the Chart Interactivity Editor. The combination chart presents the outstanding debt for the top 5 customers in Bar Chart format with a Line…
-
BIRT Cascading Parameters
This example demonstrates how to build a BIRT report that uses a cascaded parameter group. A cascaded parameter group allows a group of parameters to be interlinked, where selecting a value for the first parameter affects the choices available in the subsequent parameters. Cascaded parameters can be tied to one or more…
-
BIRT Data Set Filtering
This example is intended to illustrate Data Set filtering within BIRT. The ability to apply filters on data sets is a powerful feature of BIRT. When integrating data into a report from multiple data sources that may not all provide inherent filtering, the data set filter is a powerful way to consistently constrain data to…
-
BIRT Dynamic Text Example
The look and feel aspects of a report are essential for the end-user experience. BIRT's Text Element allows a broad range of formatting options such as Multi-line text, Text that contains multiple style formats and Text that combines static text with dynamic values retrieved at runtime. This example demonstrates the…
-
BIRT Grouped Listing Report
This example illustrates adding a group section to a listing report. To gain deeper insights end-users often need to look at data in a grouped and summarized form. This example demonstrates how to group data in a BIRT report.
-
BIRT Image Example
Two types of images can be referred to in a report. URI's refer to images read from another location. Images can also be embedded within a report design file. A scripted data source is used in this example to demonstrate how different images are displayed in a report. If you intend to try this example, download the images…
-
BIRT Mapping Example
The report presents a list of customers with their respective credit limits. In the example a new column will be added to the report to display a credit ranking classification. The company may use this field for promotional offers.
-
BIRT Parameter Example
This example demonstrates how to filter the data in a BIRT report at runtime by using report and data set parameters. Report parameters allow end-users to interactively filter the report's data to gain deeper insights. The user is guided through the steps to add a dataset parameter and a report parameter. <br /> <br /> The…
-
BIRT Design Engine API Example
This example demonstrate using the DE API to create a simple report within a Java class.
-
BIRT Chart Scripting: Dynamic Markers and DataPoint Colors
BIRT Report Design that shows how to create global variables in a table script event and then use those variables to dynamically create chart markers. The values of the markers are used as a compasison to determine each data points color.<br /> <br /> More details and screenshots about this example can be seen at…
-
BIRT: Multiple Master Pages
This is an example BIRT report design that uses the Page Break property of a grid to control which master page gets used throughout the report.<br /> <br /> More details and screenshots related to this example can be found at…
-
BIRT: Dynamic Image Examples
Two different approaches for getting dynamic images into a BIRT report design. One approach use a script on the image onRender event to change the name of the image at runtime:if(row["CREDITLIMIT"] < 25000 ) this.file = this.file.replace("happy", "sad"); <br /> ...and the other approach uses a computed column on the…
-
BIRT charts nested in table
BIRT report design that shows how to create an inner chart within a table that will use different values for each table. This example shows two different ways to include a chart directly in a detail row that uses a different set that requires a parameter. Another approach uses an inner table (with hidden rows) and the…
-
BIRT Parameters - using IN clause
BIRT example report design that allows for multiple values to be passed into the data set query. This example uses property binding to append an IN CLAUSE to the query based on the parameter values. Passing in an asterick (*) will select all rows.
-
BIRT Advanced Report and Chart Scripting Examples
Enclosed is the powerpoint presentation explaining report and chart scripting for BIRT reports that was given at EclipseCon 2008. The examples report designs and code used with the class are also enclosed. The original class abstract can be found here.
-
BIRT Web 2.0 image example
This is a simple example that shows how to use the Bookmark property to hold a handle to an image. You can then reference that image using the document.getElementById method to manipulate the image. In this example, the image source is changed.<br /> <br /> This example was created with BIRT 2.2.1
-
BIRT Combine Rows
BIRT report example that combines multiple rows of data and displays it on a single line. This is done with grouping, with 'hide details' checked, and aggregations applied at the group level.<br /> <br /> This example was created with BIRT 2.2.1
-
Localization of BIRT Reports
Report examples showing how to replace the text from a label with externalized text from a properties file. One example shows setting the textkey property of the labels and group headers, the second example shows assigning the properties file name and textkey association using the scripting APIs. A code example is also…
-
BIRT Stacked Bar Chart Example
Simple BIRT Report design showing a stacked bar chart. This example was created with BIRT 2.2.0 and uses the ClassicModels example database.<br /> <br /> Updated with a second chart with two sets of stacked bars using optional grouping feature.
-
Change BIRT Chart Interval Type at Runtime
This example report design uses script in the beforeFactory event to change the chart interval type from Days, Weeks, Months, and Years at runtime based on a user parameter.<br /> <br /> This example was created wtih BIRT 2.2.0 and uses the sample ClassicModels database.