## Components supported in web reports

Components are the objects that you can place in a report. JReport provides a full set of components that allow you to present and control the report data and presentation in a wide variety of ways.

Web reports support the following report components:

- Labels
  A label is an object that contains a string. It is typically a brief description used to identify a field or other value nearby.
- Images
  An image is a digital representation of a picture. The following image types are supported in web reports: .gif, .jpg, and .png.
- DBFields
  DBFields, or database fields, are fields directly from columns in the database or other data source such as XML or Java objects.
- Formulas
  Formulas are calculated from DBFields, other formulas, summaries, and parameters, so they can present information which is not available directly from the database fields.
- Summaries
  A summary is a special kind of formula. A summary generates a count, average, sum, standard deviation or other transformation of a set of data values. A summary applies to a defined group of data. Summaries are required to provide the data values for charts as well as totals for table reports.
- Parameters
  A parameter in JReport is a variable whose value is determined at runtime. The runtime parameters help you dynamically control your report result such as filtering data.
- Special fields
  Special fields are defined by JReport and allow you to easily obtain system information and report-related data and add it to your report. All special fields are supported to insert into web reports in JReport Designer. However, due to the characteristics of Web Report Studio, only these can be rendered and edited in Web Report Studio: User Name, Modified Date, Modified Time, Fetch Date, Fetch Time, Print Date, and Print Time. For more, see Special fields in the JReport Designer User's Guide.
- Web controls
  Web controls are report components designed to be similar to the kinds of controls found on web pages. Currently, the following four web controls are supported in web reports: parameter control, parameter form control, filter control, and navigation control.
- Multimedia objects
  Multimedia objects include Flash, Real Media, and Windows Media objects.
- Tabular
  A tabular is a component designed to lay out other components. There is one and only one tabular in a web report.
- Tables
  A table gives you great control over how to present data, including placing fields, grouping them, and sorting them. It is composed of rows and columns, and each contains several cells. With such a structure a table is a good way to show any two-dimensional dataset.
- Crosstabs
  A crosstab summarizes data and presents the summaries in a compact row and column format.
- 2-D Charts
  A chart organizes and graphically presents data in a way that makes it easy for end users to see comparisons, trends, and patterns in data. It represents the report data in a visually straightforward form. A chart is based on the chart platform. On the platform, the chart paper, the legend, and labels make up the chart. You can create a chart that contains only simple DBFields, or a complicated chart that contains DBFields, groups, summaries, and even formulas. Normally, DBFields, summaries, and formulas in a report are represented in a chart using chart data markers, and groups are used to produce category names and data series names. DBFields can also be used as category names.

  For details about chart types, see Chart types in the JReport Designer User's Guide.

  For how charts present data, see How data is represented in a chart in the JReport Designer User's Guide.

  For the elements that compose a chart, see Chart elements in the JReport Designer User's Guide.

Tip: In JReport, the components that can be bound with a data source are also referred to as data components. These components include tables, crosstabs and charts.