Choose from multiple chart types to best represent your information, including:
• | Column, which compares values displayed as columns. |
• | Bar, which compares values displayed as bars. |
• | Line, which compares values displayed as points connected by lines. |
• | Area, which compares values displayed as shaded areas. |
• | Spider, which compares three or more values on a series of spokes. Spider charts can use columns, lines, or areas to display values. |
• | Dual- and Multi-Axis, which display values using two or more measures. |
• | Time Series, which compares time intervals displayed as points connected by lines. The Time Series chart type is only available for non-OLAP charts. |
• | Scatter, which compares values as individual points arrayed across both axes of a chart. |
• | Bubble, which compares three measures displayed as circles of varying sizes arrayed across both axes of a chart. |
• | Pie, which compares values displayed as slices of a circular graph. |
• | Range, which displays values as heat maps. |
By default, the Ad Hoc Editor creates a column chart. You can select a different type of chart at any time.
If you recently upgraded to JasperReports Server 5.5 or later you may find that existing scatter charts did not update, and are incompatible with the newer software. You can use the Ad Hoc views for those scatter charts to generate new reports, but you can't edit the views for scatter charts created in earlier versions of JasperReports Server. |
To select a new chart type:
1. | In the Ad Hoc View panel, click the |
2. | Select Chart Types... from the menu. The Select Chart Type window is displayed. |
Select Chart Type Window |
3. | Click the type of chart you want to apply to your report. The selected chart type is outlined in blue. |
4. | Leave the Select Chart Type window open to rapidly switch between chart types, or click the |
The following table describes the available chart types, and rules (if any) affecting their use:
HTML5 Chart Types
Icon
Description
Rules
Column charts
Column charts compare values displayed as columns.
Column. Multiple measures of a group are depicted as individual columns.
Stacked Column. Multiple measures of a group are depicted as portions of a single column whose size reflects the aggregate value of the group.
Percent Column. Multiple measures of a group are depicted as portions of a single column of fixed size.
Spider Column. Multiple measures of a group are depicted as portions of individual "columns" along a spoked chart.
Bar charts
Bar charts compare values displayed as bars.
Bar. Multiple measures of a group are depicted as individual bars.
Stacked Bar. Multiple measures of a group are depicted as portions of a single bar whose size reflects the aggregate value of the group.
Percent Bar. Multiple measures of a group are depicted as portions of a single bar of fixed size.
Line charts
Line charts compare values displayed as points connected by lines.
Line. Displays data points connected with straight lines.
Spline. Displays data points connected with a fitted curve.
Spider Line. Displays data points connected with straight lines on a spoked chart.
Area charts
Area. Displays data points connected with a straight line and a color below the line; groups are displayed as transparent overlays.
Stacked Area. Displays data points connected with a straight line and a solid color below the line; groups are displayed as solid areas arranged vertically, one on top of another.
Percent Area. Displays data points connected with a straight line and a solid color below the line; groups are displayed as portions of an area of fixed sized, and arranged vertically one on top of the another.
Area Spline. Displays data points connected with a fitted curve and a color below the line; groups are displayed as transparent overlays.
Spider Area. Displays data points connected with straight lines and a solid color between the line and the center of a spoked chart; groups are displayed as transparent overlays.
Dual- and Multi-Axis charts
You can compare two or more measures, using one charting time or multiple charting types, with the charts listed here.
Column Line. Displays leftmost measures as bars, last measure as a line.
• | Requires two or more measures. |
• | Measures must be placed in the Columns location. |
• | Fields and dimensions can be placed only in the Rows location. |
Stacked Column Line. Displays leftmost measures as stacked bars, last measure as a line.
• | Requires three or more measures. |
• | Measures must be placed in the Columns location. |
• | Fields and dimensions can be placed only in the Rows location. |
Column Spline. Displays leftmost measures as bars, last measure as a spline.
• | Requires two or more measures. |
• | Measures must be placed in the Columns location. |
• | Fields and dimensions can be placed only in the Rows location. |
Stacked Column Spline. Displays leftmost measures as stacked bars, last measure as a line.
• | Requires three or more measures. |
• | Measures must be placed in the Columns location. |
• | Fields and dimensions can be placed only in the Rows location. |
Multi-Axis Line. Displays each measure as a separate axis line.
• | Requires two or more measures. |
• | Measures must be placed in the Columns location. |
• | Fields and dimensions can be placed only in the Rows location. |
Multi-Axis Spline. Displays each measure as a separate axis spline.
• | Requires two or more measures. |
• | Measures must be placed in the Columns location. |
• | Fields and dimensions can be placed only in the Rows location. |
Multi-Axis Column. Displays each measure as a separate axis column.
• | Requires two or more measures. |
• | Measures must be placed in the Columns location. |
• | Fields and dimensions can be placed only in the Rows location. |
Time Series charts
Time Series charts illustrate data points at successive time intervals.
Line. Displays date and time data points connected with straight lines.
• | Requires a single date/time field in the Rows location. |
• | Field must be set to the "day" group function. |
Spline. Displays date and time data points connected with a fitted curve.
• | Requires a single date/time field in the Rows location. |
• | Field must be set to the "day" group function. |
Area. Displays date and time data points connected with a straight line and a color below the line; groups are displayed as transparent overlays.
• | Requires a single date/time field in the Rows location. |
• | Field must be set to the "day" group function. |
Area Spline. Displays date and time data points connected with a fitted curve and a color below the line; groups are displayed as transparent overlays.
• | Requires a single date/time field in the Rows location. |
• | Field must be set to the "day" group function. |
Scatter charts
Scatter charts show the extent of correlation between the values of observed quantities.
Scatter. Displays first measure as the x-axis, the second measure as the y-axis. Other fields and dimensions in the column group become data points.
• | Requires exactly two measures. |
• | Measures must be placed in the Columns location. |
Bubble charts
Bubble charts show the correlation between three measures, displayed as disks. Bubble. Displays first measure as the x-axis, the second measure as the y-axis, and the third measure determines the size of the disk.Pie charts
Pie charts display values as slices of a circular graph.
Pie. Multiple measures of a group are displayed as sectors of a circle.
Dual Pie. Multiple measures of a group are displayed as sectors of concentric circles.
Range charts
Range charts display values heat maps.
Heat Map. Individual values represented as colors.
Non-OLAP:
• | One field, followed by one Measure, required in the Columns location. |
• | One field required in the rows location. |
OLAP:
• | One Dimension level, followed by one Measure, required in the Columns location. |
• | One Dimension level required in the Rows location. |
• | One Measure required in the Columns location. |
• | One Date/Time field required in the Rows location. |
Recommended Comments
There are no comments to display.