BackPrevious Page Next PageNext

Start Creating New Reports

JReport supports three types of reports: Page Report, Web Report and Library Component. All serve different reporting requirements.

More information about each report type >>

Enabling data sources

JReport Designer requires access to your data sources to retrieve data for reports, so before you can create reports in JReport Designer you need to set up connections to your data sources. Currently the following methods are provided for you to achieve this goal: via JDBC Connection, XML Connection, SOAP Web Service Connection, MongoDB Connection, HIVE Connection, JSON Connection, Elasticsearch Connection, or by creating Hierarchical Data Source and User Defined Data Source.

More information about data source connections >>

Creating a page report

  1. Click JReport Designer in the JReport folder on the Start menu to start JReport Designer.
  2. On the Start Page, click Page Report in the Create category.
  3. In the Select Component for Page Report dialog, decide whether to create the page report using business views (by default page reports are query based).

    Since a page report cannot be empty, you will also need to create a report tab in it when creating the page report.

    New Page Report dialog

    JReport provides you with the following component types to start a page report tab:

  4. Click OK to create the page report with its first report tab.

Creating a web report

  1. In JReport Designer, click File > New > Web Report. A blank web report with a tabular of one cell is displayed.
  2. Click Insert > Chart. The Create Chart wizard is displayed.
  3. Select a business view in the Data screen.

    Create Chart wizard - Data

  4. We will use the default chart type and skip the Type screen. Click Next twice to access the Display screen. Define the data in the chart.

    Create Chart wizard - Display

  5. Click Finish to create the chart.

    Chart

  6. Click the View tab to preview the web report.

    Preview Chart

Creating a library component

  1. In JReport Designer, click File > New > Library Component.
  2. In the Select Component for Library Component dialog, input a title for the library component and select the component you want to create in the library component.

    New Library Component dialog

  3. Click OK.

BackPrevious Page Next PageNext