../pvss.htm

View report

In order to display reports, just add the appropriate data set from the data explorer to an empty report by using Drag & Drop.

Figure: Drag a data set to a report

The Data Set Binding window is opened. Here you can specify which data set columns are visible in the report.

Figure: The Data Set Binding Window

 

After confirming the selected columns with OK, a corresponding table is automatically created.

Figure: The Report table

 

Open the "Master Page" of the report and delete the line at the bottom (right-click on the line and select "Delete"). The line should be deleted since the date would be shown at the bottom of the report.

Figure: The Master Page of the Report

 

Save the report. The BIRT Report Viewer is displayed by clicking on the button in the toolbar. If report parameters were linked with a data set, the following window is opened before the report is displayed:

Figure: The BIRT Report Viewer and the Parameter Window

 

Confirm the settings with OK and the report is displayed:

Figure: A Report is displayed in the BIRT Report Viewer


Graphic representation

You can add charts to a report in order to visualize the results.

  1. Therefore, open the Insert menu and click on Chart.

  2. Select the diagram type from  "Select Chart Type" and click on  Next >

Figure: Select Chart Type

 

  1. Drag the "value" from the "Show data preview" table to the "Value (y) Series" field and drag the "date" from the "Show data preview" table to the Category (X) Series field.
    Click on Next >.

Figure: Select Data

 

  1. Add a chart title:

Figure: Add a Chart Title

 

  1. Change the settings for the grid lines. Repeat this step for the Y-Axis. Click on Finish:

Figure: Settings for the grid lines "X-Axis"

 

The chart is added to the report:

Figure: Graphic representation in a Report

 

  1. Change the Text alignment of the "date" and "value" fields to "Center":

Figure: Text Alignment of the "date" field

 

  1. Since the string for the date is very long, it should be changed and the decimal places should be shown for the value. Select the "date" field from the report. Open the property editor and select the option "Format DateTime". Change the format to, for example, "Month Day, Year, Time" (e.g. "May 6, 2015, 9:28 AM" . NOTE that you can change the date format only if you changed the data type of the "date" field from a string to "Date" in the "Output columns".

Figure: Change the data format of a Report

 

Select the "value" field from the report. Open the property editor and select the option "Format Number". Change the format to "Fixed" and the "Decimal places" to 1.

Figure: Change the Value format for a Report

 

  1. Save the report. Click on the button. The report is opened and the chart is displayed as follows:

Figure: A Report in the BIRT Report Viewer

 

 

Top Of Page

V 3.16

Copyright ETM professional control 2015 All Rights Reserved