There are a number of chart types to choose from 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. |
• | 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. |
• | Pie, which compares values displayed as slices of a circular graph. |
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 higher 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 cannot 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 any rules affecting their usage (where required):
Icon |
Description |
Rules |
|||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Column and Bar charts |
|
|
|||||||||
|
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. |
|
|||||||||
|
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 and Area charts |
|
|
|||||||||
|
Line. Displays data points connected with straight lines. |
|
|||||||||
|
Spline. Displays data points connected with a fitted curve. |
|
|||||||||
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. |
|
|||||||||
|
Stacked Column Line. Displays leftmost measures as stacked bars, last measure as a line. |
|
|||||||||
|
Column Spline. Displays leftmost measures as bars, last measure as a spline. |
|
|||||||||
|
Stacked Column Spline. Displays leftmost measures as stacked bars, last measure as a line. |
|
|||||||||
|
Multi-Axis Line. Displays each measure as a separate axis line. |
|
|||||||||
|
Multi-Axis Spline. Displays each measure as a separate axis spline. |
|
|||||||||
|
Multi-Axis Column. Displays each measure as a separate axis column. |
|
|||||||||
Time Series charts |
|
||||||||||
|
Line. Displays date and time data points connected with straight lines. |
|
|||||||||
|
Spline. Displays date and time data points connected with a fitted curve. |
|
|||||||||
|
Area. Displays date and time data points connected with a straight line and a color below the line; groups are displayed as transparent overlays. |
|
|||||||||
|
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. |
|
|||||||||
Area charts |
As compared to line charts, area charts emphasize quantities rather than trends. |
|
|||||||||
|
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. |
|
|||||||||
Scatter charts |
|
||||||||||
|
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. |
|
|||||||||
Pie charts |
|
|
|||||||||
|
Pie. Multiple measures of a group are displayed as sectors of a circle. |
|